Home
last modified time | relevance | path

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

/freebsd-14.2/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.td454 QualType elemTy;
457 elemTy = lvalueBase.getTypeInfoType();
459 elemTy = lvalueBase.getDynamicAllocType();
461 elemTy = expr->getType();
463 elemTy = lvalueBase.get<const ValueDecl *>()->getType();
528 APValue::LValuePathSerializationHelper(node.getLValuePath(), elemTy)
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp2688 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in EmitScalarPrePostIncDec() local
2690 value = Builder.CreateGEP(elemTy, value, numElts, "vla.inc"); in EmitScalarPrePostIncDec()
2711 llvm::Type *elemTy = CGF.ConvertTypeForMem(type); in EmitScalarPrePostIncDec() local
2713 value = Builder.CreateGEP(elemTy, value, amt, "incdec.ptr"); in EmitScalarPrePostIncDec()
2716 elemTy, value, amt, /*SignedIndices=*/false, isSubtraction, in EmitScalarPrePostIncDec()
3703 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in emitPointerArithmetic() local
3706 pointer = CGF.Builder.CreateGEP(elemTy, pointer, index, "add.ptr"); in emitPointerArithmetic()
3719 llvm::Type *elemTy; in emitPointerArithmetic() local
3721 elemTy = CGF.Int8Ty; in emitPointerArithmetic()
3723 elemTy = CGF.ConvertTypeForMem(elementType); in emitPointerArithmetic()
[all …]
H A DCGDecl.cpp424 llvm::Type *elemTy = ConvertTypeForMem(D.getType()); in EmitStaticVarDecl() local
425 setAddrOfLocalVar(&D, Address(addr, elemTy, alignment)); in EmitStaticVarDecl()
481 LocalDeclMap.find(&D)->second = Address(castedAddr, elemTy, alignment); in EmitStaticVarDecl()
2361 llvm::Type *elemTy = CGF.ConvertTypeForMem(type); in emitPartialArrayDestroy() local
2377 elemTy, begin, gepIndices, "pad.arraybegin"); in emitPartialArrayDestroy()
2379 elemTy, end, gepIndices, "pad.arrayend"); in emitPartialArrayDestroy()