Searched refs:ConstantAddress (Results 1 – 12 of 12) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | Address.h | 120 class ConstantAddress : public Address { 121 ConstantAddress(std::nullptr_t) : Address(nullptr) {} in ConstantAddress() function 124 ConstantAddress(llvm::Constant *pointer, llvm::Type *elementType, in ConstantAddress() function 128 static ConstantAddress invalid() { in invalid() 129 return ConstantAddress(nullptr); in invalid() 136 ConstantAddress withElementType(llvm::Type *ElemTy) const { in withElementType() 137 return ConstantAddress(getPointer(), ElemTy, getAlignment()); in withElementType() 143 static ConstantAddress castImpl(Address addr) { in castImpl() 144 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()), in castImpl()
|
| H A D | CodeGenModule.h | 950 ConstantAddress GetAddrOfMSGuidDecl(const MSGuidDecl *GD); 953 ConstantAddress 957 ConstantAddress 965 ConstantAddress GetWeakRefReference(const ValueDecl *VD); 1030 ConstantAddress GetAddrOfConstantCFString(const StringLiteral *Literal); 1036 ConstantAddress 1041 ConstantAddress 1049 ConstantAddress 1055 ConstantAddress GetAddrOfConstantCompoundLiteral(const CompoundLiteralExpr*E); 1069 ConstantAddress GetAddrOfGlobalTemporary(const MaterializeTemporaryExpr *E,
|
| H A D | CGDeclCXX.cpp | 30 ConstantAddress DeclPtr) { in EmitDeclInit() 72 ConstantAddress Addr) { in EmitDeclDestroy() 205 ConstantAddress DeclAddr( in EmitCXXGlobalVarDeclInit() 757 ConstantAddress GuardAddr = ConstantAddress::invalid(); in EmitCXXModuleInitFunc() 766 GuardAddr = ConstantAddress(Guard, Int8Ty, GuardAlign); in EmitCXXModuleInitFunc() 1045 ConstantAddress Guard) { in GenerateCXXGlobalInitFunc()
|
| H A D | CodeGenModule.cpp | 3577 return ConstantAddress(GV, Ty, Alignment); in GetAddrOfMSGuidDecl() 3625 return ConstantAddress::invalid(); in GetAddrOfTemplateParamObject() 3652 return ConstantAddress(Entry, DeclTy, Alignment); in GetWeakRefReference() 3667 return ConstantAddress(Aliasee, DeclTy, Alignment); in GetWeakRefReference() 6050 ConstantAddress 6060 return ConstantAddress( in GetAddrOfConstantCFString() 6344 ConstantAddress 6396 ConstantAddress 6407 ConstantAddress CodeGenModule::GetAddrOfConstantCString( in GetAddrOfConstantCString() 6468 return ConstantAddress(InsertResult.first->second, in GetAddrOfGlobalTemporary() [all …]
|
| H A D | CGObjCRuntime.h | 151 virtual ConstantAddress GenerateConstantString(const StringLiteral *) = 0;
|
| H A D | CGExprConstant.cpp | 918 static ConstantAddress 925 return ConstantAddress(Addr, Addr->getValueType(), Align); in tryEmitGlobalCompoundLiteral() 933 return ConstantAddress::invalid(); in tryEmitGlobalCompoundLiteral() 945 return ConstantAddress(GV, GV->getValueType(), Align); in tryEmitGlobalCompoundLiteral() 1808 /*implicit*/ ConstantLValue(ConstantAddress address) in ConstantLValue() 2237 ConstantAddress
|
| H A D | CGObjCGNU.cpp | 200 ConstantAddress Array = in MakeConstantString() 569 ConstantAddress GenerateConstantString(const StringLiteral *) override; 992 ConstantAddress GenerateConstantString(const StringLiteral *SL) override { in GenerateConstantString() 1000 return ConstantAddress(old->getValue(), IdElemTy, Align); in GenerateConstantString() 1022 return ConstantAddress(ObjCStr, IdElemTy, Align); in GenerateConstantString() 1134 return ConstantAddress(ObjCStrGV, IdElemTy, Align); in GenerateConstantString() 2592 ConstantAddress CGObjCGNU::GenerateConstantString(const StringLiteral *SL) { in GenerateConstantString() 2600 return ConstantAddress(old->getValue(), Int8Ty, Align); in GenerateConstantString() 2624 return ConstantAddress(ObjCStr, Int8Ty, Align); in GenerateConstantString()
|
| H A D | MicrosoftCXXABI.cpp | 2522 static ConstantAddress getInitThreadEpochPtr(CodeGenModule &CGM) { in getInitThreadEpochPtr() 2526 return ConstantAddress(GV, GV->getValueType(), Align); in getInitThreadEpochPtr() 2533 return ConstantAddress(GV, GV->getValueType(), Align); in getInitThreadEpochPtr() 2685 ConstantAddress GuardAddr(GuardVar, GuardTy, GuardAlign); in EmitGuardedInit()
|
| H A D | CGObjCMac.cpp | 1094 ConstantAddress GenerateConstantString(const StringLiteral *SL) override; 1095 ConstantAddress GenerateConstantNSString(const StringLiteral *SL); 1935 ConstantAddress 1978 ConstantAddress 1985 return ConstantAddress( in GenerateConstantNSString() 2036 return ConstantAddress(GV, GV->getValueType(), Alignment); in GenerateConstantNSString()
|
| H A D | CGExpr.cpp | 2869 ConstantAddress aliasee = CGM.GetWeakRefReference(FD); in EmitFunctionDeclPointer() 3071 ConstantAddress Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue() 3184 ATPO = ConstantAddress(ASC, ATPO.getElementType(), ATPO.getAlignment()); in EmitDeclRefLValue() 4942 ConstantAddress GlobalPtr = CGM.GetAddrOfConstantCompoundLiteral(E); in EmitCompoundLiteralLValue()
|
| H A D | CodeGenFunction.h | 4629 ConstantAddress Guard = ConstantAddress::invalid());
|
| H A D | ItaniumCXXABI.cpp | 2938 InitFunc, OrderedInits, ConstantAddress(Guard, CGM.Int8Ty, GuardAlign)); in EmitThreadLocalInitFuncs()
|