Home
last modified time | relevance | path

Searched refs:ThisPtr (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm-project/clang/lib/CodeGen/
DCGClass.cpp563 Address ThisPtr = CGF.LoadCXXThisAddress(); in EmitBaseInitializer() local
580 CGF.GetAddressOfDirectBaseInCompleteClass(ThisPtr, ClassDecl, in EmitBaseInitializer()
644 llvm::Value *ThisPtr = CGF.LoadCXXThis(); in EmitMemberInitializer() local
651 LHS = CGF.MakeNaturalAlignPointeeAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
653 LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
820 llvm::Value *ThisPtr = LoadCXXThis(); in EmitAsanPrologueOrEpilogue() local
821 ThisPtr = Builder.CreatePtrToInt(ThisPtr, IntPtrTy); in EmitAsanPrologueOrEpilogue()
834 F, {Builder.CreateAdd(ThisPtr, Builder.getIntN(PtrSize, EndOffset)), in EmitAsanPrologueOrEpilogue()
978 Address ThisPtr = CGF.LoadCXXThisAddress(); in emitMemcpy() local
979 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
[all …]
DCGCXXABI.cpp151 void CGCXXABI::setCXXABIThisValue(CodeGenFunction &CGF, llvm::Value *ThisPtr) { in setCXXABIThisValue() argument
154 CGF.CXXABIThisValue = ThisPtr; in setCXXABIThisValue()
DCGCXXABI.h79 void setCXXABIThisValue(CodeGenFunction &CGF, llvm::Value *ThisPtr);
252 Address ThisPtr,
DCGVTables.cpp201 Address ThisPtr(&*AI, CGM.getClassPointerAlignment(MD->getParent())); in GenerateVarArgsThunk() local
206 I.getOperand(0) == ThisPtr.getPointer(); in GenerateVarArgsThunk()
213 CGM.getCXXABI().performThisAdjustment(*this, ThisPtr, Thunk.This); in GenerateVarArgsThunk()
DMicrosoftCXXABI.cpp140 Address ThisPtr,
969 Address ThisPtr, in EmitTypeid() argument
971 std::tie(ThisPtr, std::ignore, std::ignore) = in EmitTypeid()
972 performBaseAdjustment(CGF, ThisPtr, SrcRecordTy); in EmitTypeid()
973 llvm::CallBase *Typeid = emitRTtypeidCall(CGF, ThisPtr.getPointer()); in EmitTypeid()
997 llvm::Value *ThisPtr = This.getPointer(); in EmitDynamicCastCall() local
1012 ThisPtr, Offset, SrcRTTI, DestRTTI, in EmitDynamicCastCall()
1014 ThisPtr = CGF.EmitRuntimeCallOrInvoke(Function, Args); in EmitDynamicCastCall()
1015 return CGF.Builder.CreateBitCast(ThisPtr, DestLTy); in EmitDynamicCastCall()
DCGExprCXX.cpp2151 Address ThisPtr = CGF.EmitLValue(E).getAddress(CGF); in EmitTypeidFromVTable() local
2160 ThisPtr.getPointer(), SrcRecordTy); in EmitTypeidFromVTable()
2176 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ThisPtr.getPointer()); in EmitTypeidFromVTable()
2184 return CGF.CGM.getCXXABI().EmitTypeid(CGF, SrcRecordTy, ThisPtr, in EmitTypeidFromVTable()
DCGDebugInfo.h224 getOrCreateInstanceMethodType(QualType ThisPtr, const FunctionProtoType *Func,
DCGDebugInfo.cpp1545 CGDebugInfo::getOrCreateInstanceMethodType(QualType ThisPtr, in getOrCreateInstanceMethodType() argument
1563 const CXXRecordDecl *RD = ThisPtr->getPointeeCXXRecordDecl(); in getOrCreateInstanceMethodType()
1566 const PointerType *ThisPtrTy = cast<PointerType>(ThisPtr); in getOrCreateInstanceMethodType()
1574 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1581 llvm::DIType *ThisPtrType = getOrCreateType(ThisPtr, Unit); in getOrCreateInstanceMethodType()
1582 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
DItaniumCXXABI.cpp182 Address ThisPtr,
1447 Address ThisPtr, in EmitTypeid() argument
1452 CGF.GetVTablePtr(ThisPtr, StdTypeInfoPtrTy->getPointerTo(), ClassDecl); in EmitTypeid()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DSpeculation.cpp44 JITEvaluatedSymbol ThisPtr(pointerToJITTargetAddress(this), in addSpeculationRuntime() local
50 {Mangle("__orc_speculator"), ThisPtr}, // Data Symbol in addSpeculationRuntime()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculation.cpp47 JITEvaluatedSymbol ThisPtr(pointerToJITTargetAddress(this), in addSpeculationRuntime() local
53 {Mangle("__orc_speculator"), ThisPtr}, // Data Symbol in addSpeculationRuntime()
/external/clang/lib/CodeGen/
DCGClass.cpp527 Address ThisPtr = CGF.LoadCXXThisAddress(); in EmitBaseInitializer() local
548 CGF.GetAddressOfDirectBaseInCompleteClass(ThisPtr, ClassDecl, in EmitBaseInitializer()
709 llvm::Value *ThisPtr = CGF.LoadCXXThis(); in EmitMemberInitializer() local
711 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
897 llvm::Value *ThisPtr = LoadCXXThis(); in EmitAsanPrologueOrEpilogue() local
898 ThisPtr = Builder.CreatePtrToInt(ThisPtr, IntPtrTy); in EmitAsanPrologueOrEpilogue()
911 F, {Builder.CreateAdd(ThisPtr, Builder.getIntN(PtrSize, EndOffset)), in EmitAsanPrologueOrEpilogue()
1053 Address ThisPtr = CGF.LoadCXXThisAddress(); in emitMemcpy() local
1054 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
1204 Address ThisPtr = CGF.LoadCXXThisAddress(); in pushEHDestructors() local
[all …]
DCGVTables.cpp175 Address ThisPtr(&*AI, CGM.getClassPointerAlignment(MD->getParent())); in GenerateVarArgsThunk() local
180 I.getOperand(0) == ThisPtr.getPointer(); in GenerateVarArgsThunk()
187 CGM.getCXXABI().performThisAdjustment(*this, ThisPtr, Thunk.This); in GenerateVarArgsThunk()
DCGCXXABI.h258 Address ThisPtr,
DMicrosoftCXXABI.cpp139 Address ThisPtr,
976 Address ThisPtr, in EmitTypeid() argument
978 std::tie(ThisPtr, std::ignore) = in EmitTypeid()
979 performBaseAdjustment(CGF, ThisPtr, SrcRecordTy); in EmitTypeid()
980 auto Typeid = emitRTtypeidCall(CGF, ThisPtr.getPointer()).getInstruction(); in EmitTypeid()
1003 llvm::Value *ThisPtr = This.getPointer(); in EmitDynamicCastCall() local
1018 ThisPtr, Offset, SrcRTTI, DestRTTI, in EmitDynamicCastCall()
1020 ThisPtr = CGF.EmitRuntimeCallOrInvoke(Function, Args).getInstruction(); in EmitDynamicCastCall()
1021 return CGF.Builder.CreateBitCast(ThisPtr, DestLTy); in EmitDynamicCastCall()
DCGDebugInfo.h187 getOrCreateInstanceMethodType(QualType ThisPtr, const FunctionProtoType *Func,
DCGExprCXX.cpp1787 Address ThisPtr = CGF.EmitLValue(E).getAddress(); in EmitTypeidFromVTable() local
1804 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ThisPtr.getPointer()); in EmitTypeidFromVTable()
1812 return CGF.CGM.getCXXABI().EmitTypeid(CGF, SrcRecordTy, ThisPtr, in EmitTypeidFromVTable()
DCGDebugInfo.cpp1148 QualType ThisPtr, const FunctionProtoType *Func, llvm::DIFile *Unit) { in getOrCreateInstanceMethodType() argument
1161 const CXXRecordDecl *RD = ThisPtr->getPointeeCXXRecordDecl(); in getOrCreateInstanceMethodType()
1164 const PointerType *ThisPtrTy = cast<PointerType>(ThisPtr); in getOrCreateInstanceMethodType()
1172 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1179 llvm::DIType *ThisPtrType = getOrCreateType(ThisPtr, Unit); in getOrCreateInstanceMethodType()
1180 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
DItaniumCXXABI.cpp183 Address ThisPtr,
1207 Address ThisPtr, in EmitTypeid() argument
1212 CGF.GetVTablePtr(ThisPtr, StdTypeInfoPtrTy->getPointerTo(), ClassDecl); in EmitTypeid()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp130 Loc ThisPtr = in getRegionForConstructedObject() local
132 SVal ThisVal = State->getSVal(ThisPtr); in getRegionForConstructedObject()
272 Loc ThisPtr = getSValBuilder().getCXXThis(CurCtor, in VisitCXXConstructExpr() local
274 SVal ThisVal = State->getSVal(ThisPtr); in VisitCXXConstructExpr()
DCallEvent.cpp1075 Loc ThisPtr = SVB.getCXXThis(Ctor, CalleeCtx); in getCaller() local
1076 SVal ThisVal = State->getSVal(ThisPtr); in getCaller()
1101 Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx); in getCaller() local
1102 SVal ThisVal = State->getSVal(ThisPtr); in getCaller()
DExprEngine.cpp643 Loc ThisPtr = getSValBuilder().getCXXThis(CurDtor, in ProcessBaseDtor() local
645 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp136 Loc ThisPtr = SVB.getCXXThis(CurCtor, LCtx->getStackFrame()); in computeObjectUnderConstruction() local
137 SVal ThisVal = State->getSVal(ThisPtr); in computeObjectUnderConstruction()
543 Loc ThisPtr = getSValBuilder().getCXXThis(CurCtor, in handleConstructor() local
545 SVal ThisVal = State->getSVal(ThisPtr); in handleConstructor()
DCallEvent.cpp1405 Loc ThisPtr = SVB.getCXXThis(Ctor, CalleeCtx); in getCaller() local
1406 SVal ThisVal = State->getSVal(ThisPtr); in getCaller()
1428 Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx); in getCaller() local
1429 SVal ThisVal = State->getSVal(ThisPtr); in getCaller()
DExprEngine.cpp1030 Loc ThisPtr = getSValBuilder().getCXXThis(CurDtor, in ProcessBaseDtor() local
1032 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor()

12