/external/llvm-project/clang/lib/CodeGen/ |
D | CGClass.cpp | 563 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 …]
|
D | CGCXXABI.cpp | 151 void CGCXXABI::setCXXABIThisValue(CodeGenFunction &CGF, llvm::Value *ThisPtr) { in setCXXABIThisValue() argument 154 CGF.CXXABIThisValue = ThisPtr; in setCXXABIThisValue()
|
D | CGCXXABI.h | 79 void setCXXABIThisValue(CodeGenFunction &CGF, llvm::Value *ThisPtr); 252 Address ThisPtr,
|
D | CGVTables.cpp | 201 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()
|
D | MicrosoftCXXABI.cpp | 140 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()
|
D | CGExprCXX.cpp | 2151 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()
|
D | CGDebugInfo.h | 224 getOrCreateInstanceMethodType(QualType ThisPtr, const FunctionProtoType *Func,
|
D | CGDebugInfo.cpp | 1545 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()
|
D | ItaniumCXXABI.cpp | 182 Address ThisPtr, 1447 Address ThisPtr, in EmitTypeid() argument 1452 CGF.GetVTablePtr(ThisPtr, StdTypeInfoPtrTy->getPointerTo(), ClassDecl); in EmitTypeid()
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | Speculation.cpp | 44 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/ |
D | Speculation.cpp | 47 JITEvaluatedSymbol ThisPtr(pointerToJITTargetAddress(this), in addSpeculationRuntime() local 53 {Mangle("__orc_speculator"), ThisPtr}, // Data Symbol in addSpeculationRuntime()
|
/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 527 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 …]
|
D | CGVTables.cpp | 175 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()
|
D | CGCXXABI.h | 258 Address ThisPtr,
|
D | MicrosoftCXXABI.cpp | 139 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()
|
D | CGDebugInfo.h | 187 getOrCreateInstanceMethodType(QualType ThisPtr, const FunctionProtoType *Func,
|
D | CGExprCXX.cpp | 1787 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()
|
D | CGDebugInfo.cpp | 1148 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()
|
D | ItaniumCXXABI.cpp | 183 Address ThisPtr, 1207 Address ThisPtr, in EmitTypeid() argument 1212 CGF.GetVTablePtr(ThisPtr, StdTypeInfoPtrTy->getPointerTo(), ClassDecl); in EmitTypeid()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 130 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()
|
D | CallEvent.cpp | 1075 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()
|
D | ExprEngine.cpp | 643 Loc ThisPtr = getSValBuilder().getCXXThis(CurDtor, in ProcessBaseDtor() local 645 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 136 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()
|
D | CallEvent.cpp | 1405 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()
|
D | ExprEngine.cpp | 1030 Loc ThisPtr = getSValBuilder().getCXXThis(CurDtor, in ProcessBaseDtor() local 1032 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor()
|