Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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.td457 QualType elemTy;
460 elemTy = lvalueBase.getTypeInfoType();
462 elemTy = lvalueBase.getDynamicAllocType();
464 elemTy = expr->getType();
466 elemTy = lvalueBase.get<const ValueDecl *>()->getType();
531 APValue::LValuePathSerializationHelper(node.getLValuePath(), elemTy)
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp2959 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in EmitScalarPrePostIncDec() local
2961 value = Builder.CreateGEP(elemTy, value, numElts, "vla.inc"); in EmitScalarPrePostIncDec()
2964 elemTy, value, numElts, /*SignedIndices=*/false, isSubtraction, in EmitScalarPrePostIncDec()
2982 llvm::Type *elemTy = CGF.ConvertTypeForMem(type); in EmitScalarPrePostIncDec() local
2984 value = Builder.CreateGEP(elemTy, value, amt, "incdec.ptr"); in EmitScalarPrePostIncDec()
2987 elemTy, value, amt, /*SignedIndices=*/false, isSubtraction, in EmitScalarPrePostIncDec()
3989 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in emitPointerArithmetic() local
3992 pointer = CGF.Builder.CreateGEP(elemTy, pointer, index, "add.ptr"); in emitPointerArithmetic()
3996 elemTy, pointer, index, isSigned, isSubtraction, op.E->getExprLoc(), in emitPointerArithmetic()
4005 llvm::Type *elemTy; in emitPointerArithmetic() local
[all …]
H A DCGDecl.cpp428 llvm::Type *elemTy = ConvertTypeForMem(D.getType()); in EmitStaticVarDecl() local
429 setAddrOfLocalVar(&D, Address(addr, elemTy, alignment)); in EmitStaticVarDecl()
485 LocalDeclMap.find(&D)->second = Address(castedAddr, elemTy, alignment); in EmitStaticVarDecl()
2422 llvm::Type *elemTy = CGF.ConvertTypeForMem(type); in emitPartialArrayDestroy() local
2438 elemTy, begin, gepIndices, "pad.arraybegin"); in emitPartialArrayDestroy()
2440 elemTy, end, gepIndices, "pad.arrayend"); in emitPartialArrayDestroy()