| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | Address.h | 294 class ConstantAddress : public RawAddress { 295 ConstantAddress(std::nullptr_t) : RawAddress(nullptr) {} in ConstantAddress() function 298 ConstantAddress(llvm::Constant *pointer, llvm::Type *elementType, in ConstantAddress() function 302 static ConstantAddress invalid() { in invalid() 303 return ConstantAddress(nullptr); in invalid() 310 ConstantAddress withElementType(llvm::Type *ElemTy) const { in withElementType() 311 return ConstantAddress(getPointer(), ElemTy, getAlignment()); in withElementType() 317 static ConstantAddress castImpl(RawAddress addr) { in castImpl() 318 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()), in castImpl()
|
| H A D | CodeGenModule.h | 1029 ConstantAddress GetAddrOfMSGuidDecl(const MSGuidDecl *GD); 1032 ConstantAddress 1036 ConstantAddress 1044 ConstantAddress GetWeakRefReference(const ValueDecl *VD); 1109 ConstantAddress GetAddrOfConstantCFString(const StringLiteral *Literal); 1115 ConstantAddress 1120 ConstantAddress 1128 ConstantAddress 1134 ConstantAddress GetAddrOfConstantCompoundLiteral(const CompoundLiteralExpr*E); 1148 ConstantAddress GetAddrOfGlobalTemporary(const MaterializeTemporaryExpr *E,
|
| H A D | CGDeclCXX.cpp | 30 ConstantAddress DeclPtr) { in EmitDeclInit() 72 ConstantAddress Addr) { in EmitDeclDestroy() 206 ConstantAddress DeclAddr( in EmitCXXGlobalVarDeclInit() 768 ConstantAddress GuardAddr = ConstantAddress::invalid(); in EmitCXXModuleInitFunc() 777 GuardAddr = ConstantAddress(Guard, Int8Ty, GuardAlign); in EmitCXXModuleInitFunc() 1060 ConstantAddress Guard) { in GenerateCXXGlobalInitFunc()
|
| H A D | CodeGenModule.cpp | 3566 ConstantAddress CodeGenModule::GetAddrOfMSGuidDecl(const MSGuidDecl *GD) { in GetAddrOfMSGuidDecl() 3574 return ConstantAddress(GV, GV->getValueType(), Alignment); in GetAddrOfMSGuidDecl() 3610 return ConstantAddress(GV, GV->getValueType(), Alignment); in GetAddrOfMSGuidDecl() 3614 return ConstantAddress(GV, Ty, Alignment); in GetAddrOfMSGuidDecl() 3617 ConstantAddress CodeGenModule::GetAddrOfUnnamedGlobalConstantDecl( in GetAddrOfUnnamedGlobalConstantDecl() 3624 return ConstantAddress(*Entry, (*Entry)->getValueType(), Alignment); in GetAddrOfUnnamedGlobalConstantDecl() 3645 return ConstantAddress(GV, GV->getValueType(), Alignment); in GetAddrOfUnnamedGlobalConstantDecl() 3648 ConstantAddress CodeGenModule::GetAddrOfTemplateParamObject( in GetAddrOfTemplateParamObject() 3654 return ConstantAddress(GV, GV->getValueType(), Alignment); in GetAddrOfTemplateParamObject() 3662 return ConstantAddress::invalid(); in GetAddrOfTemplateParamObject() [all …]
|
| H A D | CGObjCRuntime.h | 151 virtual ConstantAddress GenerateConstantString(const StringLiteral *) = 0;
|
| H A D | CGExprConstant.cpp | 938 static ConstantAddress 945 return ConstantAddress(Addr, Addr->getValueType(), Align); in tryEmitGlobalCompoundLiteral() 953 return ConstantAddress::invalid(); in tryEmitGlobalCompoundLiteral() 965 return ConstantAddress(GV, GV->getValueType(), Align); in tryEmitGlobalCompoundLiteral() 1964 /*implicit*/ ConstantLValue(ConstantAddress address) in ConstantLValue() 2478 ConstantAddress
|
| H A D | CGObjCGNU.cpp | 200 ConstantAddress Array = in MakeConstantString() 567 ConstantAddress GenerateConstantString(const StringLiteral *) override; 991 ConstantAddress GenerateConstantString(const StringLiteral *SL) override { in GenerateConstantString() 999 return ConstantAddress(old->getValue(), IdElemTy, Align); in GenerateConstantString() 1021 return ConstantAddress(ObjCStr, IdElemTy, Align); in GenerateConstantString() 1133 return ConstantAddress(ObjCStrGV, IdElemTy, Align); in GenerateConstantString() 2591 ConstantAddress CGObjCGNU::GenerateConstantString(const StringLiteral *SL) { in GenerateConstantString() 2599 return ConstantAddress(old->getValue(), Int8Ty, Align); in GenerateConstantString() 2623 return ConstantAddress(ObjCStr, Int8Ty, Align); in GenerateConstantString()
|
| H A D | CGObjCMac.cpp | 1094 ConstantAddress GenerateConstantString(const StringLiteral *SL) override; 1095 ConstantAddress GenerateConstantNSString(const StringLiteral *SL); 1313 ConstantAddress EmitSelectorAddr(Selector Sel); 1541 ConstantAddress EmitSelectorAddr(Selector Sel); 1943 ConstantAddress 1986 ConstantAddress 1993 return ConstantAddress( in GenerateConstantNSString() 2044 return ConstantAddress(GV, GV->getValueType(), Alignment); in GenerateConstantNSString() 5247 ConstantAddress CGObjCMac::EmitSelectorAddr(Selector Sel) { in EmitSelectorAddr() 5258 return ConstantAddress(Entry, ObjCTypes.SelectorPtrTy, Align); in EmitSelectorAddr() [all …]
|
| H A D | MicrosoftCXXABI.cpp | 2535 static ConstantAddress getInitThreadEpochPtr(CodeGenModule &CGM) { in getInitThreadEpochPtr() 2539 return ConstantAddress(GV, GV->getValueType(), Align); in getInitThreadEpochPtr() 2546 return ConstantAddress(GV, GV->getValueType(), Align); in getInitThreadEpochPtr() 2698 ConstantAddress GuardAddr(GuardVar, GuardTy, GuardAlign); in EmitGuardedInit()
|
| H A D | CGOpenMPRuntime.h | 1084 virtual ConstantAddress getAddrOfDeclareTargetVar(const VarDecl *VD);
|
| H A D | CGExpr.cpp | 2880 ConstantAddress aliasee = GetWeakRefReference(FD); in getRawFunctionPointer() 3083 ConstantAddress Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue() 3184 ATPO = ConstantAddress(ASC, ATPO.getElementType(), ATPO.getAlignment()); in EmitDeclRefLValue() 5002 ConstantAddress GlobalPtr = CGM.GetAddrOfConstantCompoundLiteral(E); in EmitCompoundLiteralLValue()
|
| H A D | CodeGenFunction.h | 4935 ConstantAddress Guard = ConstantAddress::invalid());
|
| H A D | CGOpenMPRuntime.cpp | 1562 ConstantAddress CGOpenMPRuntime::getAddrOfDeclareTargetVar(const VarDecl *VD) { in getAddrOfDeclareTargetVar() 1584 return ConstantAddress::invalid(); in getAddrOfDeclareTargetVar() 1585 return ConstantAddress(addr, LlvmPtrTy, CGM.getContext().getDeclAlign(VD)); in getAddrOfDeclareTargetVar()
|
| H A D | ItaniumCXXABI.cpp | 3133 InitFunc, OrderedInits, ConstantAddress(Guard, CGM.Int8Ty, GuardAlign)); in EmitThreadLocalInitFuncs()
|