Home
last modified time | relevance | path

Searched refs:ConstantAddress (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/CodeGen/
DAddress.h75 class ConstantAddress : public Address {
77 ConstantAddress(llvm::Constant *pointer, CharUnits alignment) in ConstantAddress() function
80 static ConstantAddress invalid() { in invalid()
81 return ConstantAddress(nullptr, CharUnits()); in invalid()
88 ConstantAddress getBitCast(llvm::Type *ty) const { in getBitCast()
89 return ConstantAddress(llvm::ConstantExpr::getBitCast(getPointer(), ty), in getBitCast()
93 ConstantAddress getElementBitCast(llvm::Type *ty) const { in getElementBitCast()
100 static ConstantAddress castImpl(Address addr) { in castImpl()
101 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()), in castImpl()
DCodeGenModule.h716 ConstantAddress GetAddrOfUuidDescriptor(const CXXUuidofExpr* E);
722 ConstantAddress GetWeakRefReference(const ValueDecl *VD);
766 ConstantAddress GetAddrOfConstantCFString(const StringLiteral *Literal);
771 ConstantAddress GetAddrOfConstantString(const StringLiteral *Literal);
777 ConstantAddress
782 ConstantAddress
790 ConstantAddress
796 ConstantAddress GetAddrOfConstantCompoundLiteral(const CompoundLiteralExpr*E);
800 ConstantAddress GetAddrOfGlobalTemporary(const MaterializeTemporaryExpr *E,
DCGExprConstant.cpp982 ConstantAddress EmitLValue(APValue::LValueBase LVBase) { in EmitLValue()
987 return ConstantAddress(CGM.GetAddrOfFunction(FD), CharUnits::One()); in EmitLValue()
993 return ConstantAddress(CGM.GetAddrOfGlobalVar(VD), Align); in EmitLValue()
997 return ConstantAddress(Ptr, Align); in EmitLValue()
1001 return ConstantAddress::invalid(); in EmitLValue()
1014 if (!C) return ConstantAddress::invalid(); in EmitLValue()
1025 return ConstantAddress(GV, Align); in EmitLValue()
1033 ConstantAddress C = in EmitLValue()
1041 return cast<ConstantAddress>(Res.getAddress()); in EmitLValue()
1053 return ConstantAddress(Ptr, CharUnits::One()); in EmitLValue()
[all …]
DCodeGenModule.cpp1406 ConstantAddress CodeGenModule::GetAddrOfUuidDescriptor( in GetAddrOfUuidDescriptor()
1419 return ConstantAddress(GV, Alignment); in GetAddrOfUuidDescriptor()
1429 return ConstantAddress(GV, Alignment); in GetAddrOfUuidDescriptor()
1432 ConstantAddress CodeGenModule::GetWeakRefReference(const ValueDecl *VD) { in GetWeakRefReference()
1444 return ConstantAddress(Ptr, Alignment); in GetWeakRefReference()
1461 return ConstantAddress(Aliasee, Alignment); in GetWeakRefReference()
2854 ConstantAddress
2864 return ConstantAddress(C, CharUnits::fromQuantity(C->getAlignment())); in GetAddrOfConstantCFString()
2952 return ConstantAddress(GV, Alignment); in GetAddrOfConstantCFString()
2955 ConstantAddress
[all …]
DCGDeclCXX.cpp27 ConstantAddress DeclPtr) { in EmitDeclInit()
64 ConstantAddress addr) { in EmitDeclDestroy()
162 ConstantAddress DeclAddr(DeclPtr, getContext().getDeclAlign(&D)); in EmitCXXGlobalVarDeclInit()
DCGObjCRuntime.h145 virtual ConstantAddress GenerateConstantString(const StringLiteral *) = 0;
DCGObjCGNU.cpp169 ConstantAddress Array = CGM.GetAddrOfConstantCString(Str, Name.c_str()); in MakeConstantString()
489 ConstantAddress GenerateConstantString(const StringLiteral *) override;
1186 ConstantAddress CGObjCGNU::GenerateConstantString(const StringLiteral *SL) { in GenerateConstantString()
1194 return ConstantAddress(old->getValue(), Align); in GenerateConstantString()
1221 return ConstantAddress(ObjCStr, Align); in GenerateConstantString()
DMicrosoftCXXABI.cpp2245 static ConstantAddress getInitThreadEpochPtr(CodeGenModule &CGM) { in getInitThreadEpochPtr()
2249 return ConstantAddress(GV, Align); in getInitThreadEpochPtr()
2256 return ConstantAddress(GV, Align); in getInitThreadEpochPtr()
2405 ConstantAddress GuardAddr(GuardVar, GuardAlign); in EmitGuardedInit()
DCGExpr.cpp2099 ConstantAddress Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue()
3233 ConstantAddress GlobalPtr = CGM.GetAddrOfConstantCompoundLiteral(E); in EmitCompoundLiteralLValue()
DCGObjCMac.cpp1035 ConstantAddress GenerateConstantString(const StringLiteral *SL) override;
1757 ConstantAddress CGObjCCommonMac::GenerateConstantString( in GenerateConstantString()