Home
last modified time | relevance | path

Searched refs:DeclPtr (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/CodeGen/
DCGDeclCXX.cpp27 ConstantAddress DeclPtr) { in EmitDeclInit() argument
33 LValue lv = CGF.MakeAddrLValue(DeclPtr, type); in EmitDeclInit()
41 DeclPtr, D.getTLSKind()); in EmitDeclInit()
44 DeclPtr); in EmitDeclInit()
141 llvm::Constant *DeclPtr, in EmitCXXGlobalVarDeclInit() argument
163 unsigned ActualAddrSpace = DeclPtr->getType()->getPointerAddressSpace(); in EmitCXXGlobalVarDeclInit()
167 DeclPtr = llvm::ConstantExpr::getAddrSpaceCast(DeclPtr, PTy); in EmitCXXGlobalVarDeclInit()
170 ConstantAddress DeclAddr(DeclPtr, getContext().getDeclAlign(&D)); in EmitCXXGlobalVarDeclInit()
180 EmitDeclInvariant(*this, D, DeclPtr); in EmitCXXGlobalVarDeclInit()
246 llvm::GlobalVariable *DeclPtr, in EmitCXXGuardedInit() argument
[all …]
DCGDecl.cpp1767 Address DeclPtr = Address::invalid(); in EmitParmDecl() local
1772 DeclPtr = Arg.getIndirectAddress(); in EmitParmDecl()
1774 unsigned AS = DeclPtr.getType()->getAddressSpace(); in EmitParmDecl()
1776 if (DeclPtr.getType() != IRTy) in EmitParmDecl()
1777 DeclPtr = Builder.CreateBitCast(DeclPtr, IRTy, D.getName()); in EmitParmDecl()
1786 pushDestroy(QualType::DK_cxx_destructor, DeclPtr, Ty); in EmitParmDecl()
1790 DeclPtr = CreateMemTemp(Ty, getContext().getDeclAlign(&D), in EmitParmDecl()
1797 LValue lv = MakeAddrLValue(DeclPtr, Ty); in EmitParmDecl()
1846 EmitARCInitWeak(DeclPtr, ArgVal); in EmitParmDecl()
1852 EmitAutoVarWithLifetime(*this, D, DeclPtr, lt); in EmitParmDecl()
[all …]
DCGCXXABI.h533 llvm::GlobalVariable *DeclPtr,
DCGAtomic.cpp630 Address DeclPtr = CGF.CreateMemTemp(E->getType(), ".atomictmp"); in EmitValToTemp() local
631 CGF.EmitAnyExprToMem(E, DeclPtr, E->getType().getQualifiers(), in EmitValToTemp()
633 return DeclPtr; in EmitValToTemp()
DCGStmt.cpp2230 Address DeclPtr = GetAddrOfLocalVar(CD->getContextParam()); in GenerateCapturedStmtFunction() local
2231 CapturedStmtInfo->setContextValue(Builder.CreateLoad(DeclPtr)); in GenerateCapturedStmtFunction()
DCodeGenFunction.h1352 void BuildBlockRelease(llvm::Value *DeclPtr, BlockFieldFlags flags);
3084 void EmitCXXGlobalVarDeclInit(const VarDecl &D, llvm::Constant *DeclPtr,
3100 void EmitCXXGuardedInit(const VarDecl &D, llvm::GlobalVariable *DeclPtr,
DCGExpr.cpp3449 Address DeclPtr = CreateMemTemp(E->getType(), ".compoundliteral"); in EmitCompoundLiteralLValue() local
3451 LValue Result = MakeAddrLValue(DeclPtr, E->getType(), AlignmentSource::Decl); in EmitCompoundLiteralLValue()
3453 EmitAnyExprToMem(InitExpr, DeclPtr, E->getType().getQualifiers(), in EmitCompoundLiteralLValue()
DItaniumCXXABI.cpp313 llvm::GlobalVariable *DeclPtr,
DMicrosoftCXXABI.cpp389 llvm::GlobalVariable *DeclPtr,