/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | Address.h | 42 class RawAddress { 48 RawAddress(std::nullptr_t) : ElementType(nullptr) {} in RawAddress() function 51 RawAddress(llvm::Value *Pointer, llvm::Type *ElementType, CharUnits Alignment, 59 inline RawAddress(Address Addr); 61 static RawAddress invalid() { return RawAddress(nullptr); } in invalid() 100 RawAddress withElementType(llvm::Type *ElemTy) const { in withElementType() 101 return RawAddress(getPointer(), ElemTy, getAlignment(), isKnownNonNull()); in withElementType() 169 Address(RawAddress RawAddr) in Address() 285 inline RawAddress::RawAddress(Address Addr) in RawAddress() function 294 class ConstantAddress : public RawAddress { [all …]
|
H A D | CGCleanup.cpp | 268 RawAddress CodeGenFunction::createCleanupActiveFlag() { in createCleanupActiveFlag() 270 RawAddress active = CreateTempAllocaWithoutCast( in createCleanupActiveFlag() 283 void CodeGenFunction::initFullExprCleanupWithFlag(RawAddress ActiveFlag) { in initFullExprCleanupWithFlag() 489 RawAddress ActiveFlag = in PopCleanupBlocks() 490 reinterpret_cast<RawAddress &>(LifetimeExtendedCleanupStack[I]); in PopCleanupBlocks() 887 NormalCleanupDest = RawAddress::invalid(); in PopCleanupBlock() 1296 RawAddress CodeGenFunction::getNormalCleanupDestSlot() { in getNormalCleanupDestSlot()
|
H A D | CodeGenFunction.h | 710 CallLifetimeEnd(RawAddress addr, llvm::Value *size) 735 RawAddress NormalCleanupDest = RawAddress::invalid(); 871 Kind, RawAddress::invalid(), A...); 873 RawAddress ActiveFlag = createCleanupActiveFlag(); 886 RawAddress ActiveFlag, As... A) { 901 new (Buffer + sizeof(Header) + sizeof(T)) RawAddress(ActiveFlag); 923 void initFullExprCleanupWithFlag(RawAddress ActiveFlag); 924 RawAddress createCleanupActiveFlag(); 2160 RawAddress getNormalCleanupDestSlot(); 2819 RawAddress CreateTempAlloca(llvm::Type *Ty, CharUnits align, [all …]
|
H A D | CGBuilder.h | 196 return RawAddress( 339 return RawAddress(CreateGEP(Addr.getElementType(), Ptr, IdxList, Name), 347 return RawAddress(CreateInBoundsGEP(Addr.getElementType(),
|
H A D | CGExpr.cpp | 74 RawAddress 80 return RawAddress(Alloca, Ty, Align, KnownNonNull); in CreateTempAllocaWithoutCast() 85 RawAddress CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, CharUnits Align, in CreateTempAlloca() 88 RawAddress *AllocaAddr) { in CreateTempAlloca() 110 return RawAddress(V, Ty, Align, KnownNonNull); in CreateTempAlloca() 135 RawAddress CodeGenFunction::CreateDefaultAlignTempAlloca(llvm::Type *Ty, in CreateDefaultAlignTempAlloca() 142 RawAddress CodeGenFunction::CreateIRTemp(QualType Ty, const Twine &Name) { in CreateIRTemp() 147 RawAddress CodeGenFunction::CreateMemTemp(QualType Ty, const Twine &Name, in CreateMemTemp() 148 RawAddress *Alloca) { in CreateMemTemp() 153 RawAddress CodeGenFunction::CreateMemTemp(QualType Ty, CharUnits Align, in CreateMemTemp() [all …]
|
H A D | CGBlocks.h | 275 RawAddress LocalAddress;
|
H A D | CGCall.cpp | 1156 static RawAddress CreateTempAllocaForCoercion(CodeGenFunction &CGF, in CreateTempAllocaForCoercion() 1329 RawAddress Tmp = in CreateCoercedLoad() 1392 RawAddress Tmp = in CreateCoercedStore() 3016 RawAddress AlignedTemp = CreateMemTemp(Ty, "coerce"); in EmitFunctionProlog() 3145 RawAddress temp = in EmitFunctionProlog() 5053 RawAddress ArgMemory = RawAddress::invalid(); in EmitCall() 5069 ArgMemory = RawAddress(AI, ArgStruct, Align); in EmitCall() 5078 RawAddress SRetAlloca = RawAddress::invalid(); in EmitCall() 5105 RawAddress swiftErrorTemp = RawAddress::invalid(); in EmitCall() 5138 RawAddress Addr = I->hasLValue() in EmitCall() [all …]
|
H A D | CGDecl.cpp | 1465 RawAddress AllocaAddr = RawAddress::invalid(); in EmitAutoVarAlloca() 1529 RawAddress(ReturnValue.emitRawPointer(*this), in EmitAutoVarAlloca() 1542 RawAddress NRVOFlag = in EmitAutoVarAlloca() 2605 RawAddress AllocaPtr = Address::invalid(); in EmitParmDecl() 2618 AllocaPtr = RawAddress(V, DeclPtr.getElementType(), DeclPtr.getAlignment()); in EmitParmDecl()
|
H A D | CGCleanup.h | 391 void setActiveFlag(RawAddress Var) {
|
H A D | CGBlocks.cpp | 39 LocalAddress(RawAddress::invalid()), StructureType(nullptr), in CGBlockInfo() 806 RawAddress blockAddr = blockInfo.LocalAddress; in EmitBlockLiteral() 1392 RawAddress alloc = CreateMemTemp(D->getType(), D->getName() + ".addr"); in setBlockContextParameter()
|
H A D | CGExprAgg.cpp | 295 RawAddress RetAllocaAddr = RawAddress::invalid(); in withReturnValueSlot()
|
H A D | CGOpenMPRuntimeGPU.cpp | 1190 RawAddress ZeroAddr = CGF.CreateDefaultAlignTempAlloca(CGF.Int32Ty, in emitTeamsCall() 1911 RawAddress GlobalArgs = in createParallelDataSharingWrapper()
|
H A D | CGStmtOpenMP.cpp | 2076 RawAddress CountAddr = CreateMemTemp(LogicalTy, ".count.addr"); in EmitOMPCanonicalLoop() 4840 RawAddress PrivatePtr = CGF.CreateMemTemp( in EmitOMPTaskBasedDirective() 4848 RawAddress PrivatePtr = in EmitOMPTaskBasedDirective() 4858 RawAddress PrivatePtr = in EmitOMPTaskBasedDirective() 4871 RawAddress PrivatePtr = CGF.CreateMemTemp( in EmitOMPTaskBasedDirective() 5160 RawAddress PrivatePtr = in EmitOMPTargetTaskBasedDirective()
|
H A D | CGOpenMPRuntime.cpp | 917 RawAddress Tmp = RawAddress::invalid(); in castToBase() 1906 RawAddress ZeroAddrBound = in emitParallelCall() 5006 RawAddress ReductionList = in emitReduction() 5478 RawAddress TaskRedInput = CGF.CreateMemTemp(ArrayRDType, ".rd_input."); in emitTaskReductionInit()
|
H A D | CGClass.cpp | 2708 Builder.CreateLoad(RawAddress(VTable, Int8Ty, CGM.getPointerAlign()), in GetVTablePtr()
|
H A D | CGObjCMac.cpp | 2067 RawAddress ObjCSuper = CGF.CreateTempAlloca( in GenerateMessageSendSuper() 7555 RawAddress ObjCSuper = CGF.CreateTempAlloca( in GenerateMessageSendSuper()
|
H A D | CGObjCGNU.cpp | 763 RawAddress ReceiverPtr = in LookupIMP()
|
H A D | MicrosoftCXXABI.cpp | 2605 CallInitThreadAbort(RawAddress Guard) : Guard(Guard.getPointer()) {} in CallInitThreadAbort()
|
H A D | CGBuiltin.cpp | 2216 RawAddress Alloca = RawAddress::invalid(); in emitBuiltinOSLogFormat() 2217 RawAddress Addr = CreateMemTemp(Ty, "os.log.arg", &Alloca); in emitBuiltinOSLogFormat() 14515 RawAddress Tmp = CreateMemTemp(E->getArg(0)->getType()); in EmitX86BuiltinExpr() 14522 RawAddress Tmp = CreateMemTemp(E->getType()); in EmitX86BuiltinExpr()
|
H A D | CGExprScalar.cpp | 5843 return RawAddress( in EmitCheckedInBoundsGEP()
|