Home
last modified time | relevance | path

Searched refs:elemTy (Results 1 – 5 of 5) sorted by relevance

/openbsd/gnu/llvm/clang/include/clang/AST/
H A DAbstractBasicWriter.h175 QualType elemTy = lvaluePath.getType(); in writeLValuePathSerializationHelper() local
176 asImpl().writeQualType(elemTy); in writeLValuePathSerializationHelper()
180 if (elemTy->getAs<RecordType>()) { in writeLValuePathSerializationHelper()
185 elemTy = ctx.getRecordType(recordDecl); in writeLValuePathSerializationHelper()
189 elemTy = valueDecl->getType(); in writeLValuePathSerializationHelper()
193 elemTy = ctx.getAsArrayType(elemTy)->getElementType(); in writeLValuePathSerializationHelper()
H A DAbstractBasicReader.h194 auto elemTy = origTy; in readLValuePathSerializationHelper() local
197 if (elemTy->template getAs<RecordType>()) { in readLValuePathSerializationHelper()
201 elemTy = getASTContext().getRecordType(recordDecl); in readLValuePathSerializationHelper()
203 elemTy = cast<ValueDecl>(decl)->getType(); in readLValuePathSerializationHelper()
207 elemTy = getASTContext().getAsArrayType(elemTy)->getElementType(); in readLValuePathSerializationHelper()
H A DPropertiesBase.td453 QualType elemTy;
456 elemTy = lvalueBase.getTypeInfoType();
458 elemTy = expr->getType();
460 elemTy = lvalueBase.get<const ValueDecl *>()->getType();
514 APValue::LValuePathSerializationHelper(node.getLValuePath(), elemTy)
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDecl.cpp423 llvm::Type *elemTy = ConvertTypeForMem(D.getType()); in EmitStaticVarDecl() local
424 setAddrOfLocalVar(&D, Address(addr, elemTy, alignment)); in EmitStaticVarDecl()
477 LocalDeclMap.find(&D)->second = Address(castedAddr, elemTy, alignment); in EmitStaticVarDecl()
2295 llvm::Type *elemTy = CGF.ConvertTypeForMem(type); in emitPartialArrayDestroy() local
2311 elemTy, begin, gepIndices, "pad.arraybegin"); in emitPartialArrayDestroy()
2313 elemTy, end, gepIndices, "pad.arrayend"); in emitPartialArrayDestroy()
H A DCGExprScalar.cpp2672 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in EmitScalarPrePostIncDec() local
2674 value = Builder.CreateGEP(elemTy, value, numElts, "vla.inc"); in EmitScalarPrePostIncDec()
2677 elemTy, value, numElts, /*SignedIndices=*/false, isSubtraction, in EmitScalarPrePostIncDec()
2697 llvm::Type *elemTy = CGF.ConvertTypeForMem(type); in EmitScalarPrePostIncDec() local
2699 value = Builder.CreateGEP(elemTy, value, amt, "incdec.ptr"); in EmitScalarPrePostIncDec()
2702 elemTy, value, amt, /*SignedIndices=*/false, isSubtraction, in EmitScalarPrePostIncDec()
3698 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in emitPointerArithmetic() local
3701 pointer = CGF.Builder.CreateGEP(elemTy, pointer, index, "add.ptr"); in emitPointerArithmetic()
3720 llvm::Type *elemTy = CGF.ConvertTypeForMem(elementType); in emitPointerArithmetic() local
3722 return CGF.Builder.CreateGEP(elemTy, pointer, index, "add.ptr"); in emitPointerArithmetic()
[all …]