| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | Address.h | 296 class ConstantAddress : public RawAddress { 297 ConstantAddress(std::nullptr_t) : RawAddress(nullptr) {} in ConstantAddress() function 300 ConstantAddress(llvm::Constant *pointer, llvm::Type *elementType, in ConstantAddress() function 304 static ConstantAddress invalid() { in invalid() 305 return ConstantAddress(nullptr); in invalid() 312 ConstantAddress withElementType(llvm::Type *ElemTy) const { in withElementType() 313 return ConstantAddress(getPointer(), ElemTy, getAlignment()); in withElementType() 319 static ConstantAddress castImpl(RawAddress addr) { in castImpl() 320 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()), in castImpl()
|
| H A D | CodeGenModule.h | 1089 ConstantAddress GetAddrOfMSGuidDecl(const MSGuidDecl *GD); 1092 ConstantAddress 1096 ConstantAddress 1104 ConstantAddress GetWeakRefReference(const ValueDecl *VD); 1169 ConstantAddress GetAddrOfConstantCFString(const StringLiteral *Literal); 1175 ConstantAddress 1180 ConstantAddress 1188 ConstantAddress 1194 ConstantAddress GetAddrOfConstantCompoundLiteral(const CompoundLiteralExpr*E); 1208 ConstantAddress GetAddrOfGlobalTemporary(const MaterializeTemporaryExpr *E,
|
| H A D | CGDeclCXX.cpp | 31 ConstantAddress DeclPtr) { in EmitDeclInit() 73 ConstantAddress Addr) { in EmitDeclDestroy() 207 ConstantAddress DeclAddr( in EmitCXXGlobalVarDeclInit() 788 ConstantAddress GuardAddr = ConstantAddress::invalid(); in EmitCXXModuleInitFunc() 797 GuardAddr = ConstantAddress(Guard, Int8Ty, GuardAlign); in EmitCXXModuleInitFunc() 1083 ConstantAddress Guard) { in GenerateCXXGlobalInitFunc()
|
| H A D | CodeGenModule.cpp | 3822 ConstantAddress CodeGenModule::GetAddrOfMSGuidDecl(const MSGuidDecl *GD) { in GetAddrOfMSGuidDecl() 3830 return ConstantAddress(GV, GV->getValueType(), Alignment); in GetAddrOfMSGuidDecl() 3866 return ConstantAddress(GV, GV->getValueType(), Alignment); in GetAddrOfMSGuidDecl() 3870 return ConstantAddress(GV, Ty, Alignment); in GetAddrOfMSGuidDecl() 3873 ConstantAddress CodeGenModule::GetAddrOfUnnamedGlobalConstantDecl( in GetAddrOfUnnamedGlobalConstantDecl() 3880 return ConstantAddress(*Entry, (*Entry)->getValueType(), Alignment); in GetAddrOfUnnamedGlobalConstantDecl() 3901 return ConstantAddress(GV, GV->getValueType(), Alignment); in GetAddrOfUnnamedGlobalConstantDecl() 3904 ConstantAddress CodeGenModule::GetAddrOfTemplateParamObject( in GetAddrOfTemplateParamObject() 3910 return ConstantAddress(GV, GV->getValueType(), Alignment); in GetAddrOfTemplateParamObject() 3918 return ConstantAddress::invalid(); in GetAddrOfTemplateParamObject() [all …]
|
| H A D | CGObjCRuntime.h | 150 virtual ConstantAddress GenerateConstantString(const StringLiteral *) = 0;
|
| H A D | CGObjCGNU.cpp | 199 ConstantAddress Array = in MakeConstantString() 566 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() 1133 return ConstantAddress(ObjCStrGV, IdElemTy, Align); in GenerateConstantString() 2692 ConstantAddress CGObjCGNU::GenerateConstantString(const StringLiteral *SL) { in GenerateConstantString() 2700 return ConstantAddress(old->getValue(), Int8Ty, Align); in GenerateConstantString() 2724 return ConstantAddress(ObjCStr, Int8Ty, Align); in GenerateConstantString()
|
| H A D | CGExprConstant.cpp | 1024 static ConstantAddress 1031 return ConstantAddress(Addr, Addr->getValueType(), Align); in tryEmitGlobalCompoundLiteral() 1039 return ConstantAddress::invalid(); in tryEmitGlobalCompoundLiteral() 1051 return ConstantAddress(GV, GV->getValueType(), Align); in tryEmitGlobalCompoundLiteral() 2059 /*implicit*/ ConstantLValue(ConstantAddress address) in ConstantLValue() 2595 ConstantAddress
|
| H A D | CGObjCMac.cpp | 1049 ConstantAddress GenerateConstantString(const StringLiteral *SL) override; 1050 ConstantAddress GenerateConstantNSString(const StringLiteral *SL); 1262 ConstantAddress EmitSelectorAddr(Selector Sel); 1473 ConstantAddress EmitSelectorAddr(Selector Sel); 1873 ConstantAddress 1914 ConstantAddress 1921 return ConstantAddress(C, C->getValueType(), in GenerateConstantNSString() 1974 return ConstantAddress(GV, GV->getValueType(), Alignment); in GenerateConstantNSString() 5153 ConstantAddress CGObjCMac::EmitSelectorAddr(Selector Sel) { in EmitSelectorAddr() 5164 return ConstantAddress(Entry, ObjCTypes.SelectorPtrTy, Align); in EmitSelectorAddr() [all …]
|
| H A D | MicrosoftCXXABI.cpp | 2527 static ConstantAddress getInitThreadEpochPtr(CodeGenModule &CGM) { in getInitThreadEpochPtr() 2531 return ConstantAddress(GV, GV->getValueType(), Align); in getInitThreadEpochPtr() 2538 return ConstantAddress(GV, GV->getValueType(), Align); in getInitThreadEpochPtr() 2690 ConstantAddress GuardAddr(GuardVar, GuardTy, GuardAlign); in EmitGuardedInit()
|
| H A D | CGOpenMPRuntime.h | 1066 virtual ConstantAddress getAddrOfDeclareTargetVar(const VarDecl *VD);
|
| H A D | CGExpr.cpp | 3027 ConstantAddress aliasee = GetWeakRefReference(FD); in getRawFunctionPointer() 3234 ConstantAddress Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue() 3342 ATPO = ConstantAddress(ASC, ATPO.getElementType(), ATPO.getAlignment()); in EmitDeclRefLValue() 5340 ConstantAddress GlobalPtr = CGM.GetAddrOfConstantCompoundLiteral(E); in EmitCompoundLiteralLValue()
|
| H A D | CodeGenFunction.h | 5115 ConstantAddress Guard = ConstantAddress::invalid());
|
| H A D | CGOpenMPRuntime.cpp | 1552 ConstantAddress CGOpenMPRuntime::getAddrOfDeclareTargetVar(const VarDecl *VD) { in getAddrOfDeclareTargetVar() 1574 return ConstantAddress::invalid(); in getAddrOfDeclareTargetVar() 1575 return ConstantAddress(addr, LlvmPtrTy, CGM.getContext().getDeclAlign(VD)); in getAddrOfDeclareTargetVar()
|
| H A D | ItaniumCXXABI.cpp | 3165 InitFunc, OrderedInits, ConstantAddress(Guard, CGM.Int8Ty, GuardAlign)); in EmitThreadLocalInitFuncs()
|