Home
last modified time | relevance | path

Searched refs:ThisVal (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp435 SVal ThisVal = getCXXThisVal(); in getExtraInvalidatedValues() local
436 Values.push_back(ThisVal); in getExtraInvalidatedValues()
450 const MemRegion *ThisRegion = ThisVal.getAsRegion(); in getExtraInvalidatedValues()
465 SVal ThisVal = getSVal(Base); in getCXXThisVal() local
466 assert(ThisVal.isUnknownOrUndef() || ThisVal.getAs<Loc>()); in getCXXThisVal()
467 return ThisVal; in getCXXThisVal()
538 SVal ThisVal = getCXXThisVal(); in getInitialStackFrameContents() local
539 if (!ThisVal.isUnknown()) { in getInitialStackFrameContents()
555 ThisVal = StateMgr.getStoreManager().evalDynamicCast(ThisVal, Ty, Failed); in getInitialStackFrameContents()
559 if (!ThisVal.isUnknown()) in getInitialStackFrameContents()
[all …]
DExprEngineCXX.cpp41 SVal ThisVal; in performTrivialCopy() local
46 ThisVal = Ctor->getCXXThisVal(); in performTrivialCopy()
52 ThisVal = cast<CXXInstanceCall>(Call).getCXXThisVal(); in performTrivialCopy()
71 evalBind(Dst, CallExpr, Pred, ThisVal, V, true); in performTrivialCopy()
78 State = State->BindExpr(CallExpr, LCtx, ThisVal); in performTrivialCopy()
132 SVal ThisVal = State->getSVal(ThisPtr); in getRegionForConstructedObject() local
138 FieldVal = State->getLValue(Init->getIndirectMember(), ThisVal); in getRegionForConstructedObject()
141 FieldVal = State->getLValue(Init->getMember(), ThisVal); in getRegionForConstructedObject()
274 SVal ThisVal = State->getSVal(ThisPtr); in VisitCXXConstructExpr() local
277 Target = ThisVal.getAsRegion(); in VisitCXXConstructExpr()
[all …]
DExprEngine.cpp645 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor() local
650 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy, in ProcessBaseDtor()
664 Loc ThisVal = getSValBuilder().getCXXThis(CurDtor, in ProcessMemberDtor() local
667 State->getLValue(Member, State->getSVal(ThisVal).castAs<Loc>()); in ProcessMemberDtor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DThumb2InstrInfo.cpp300 unsigned ThisVal = NumBytes; in emitT2RegPlusImmediate() local
315 if (DestReg == ARM::SP && (ThisVal < ((1 << 7)-1) * 4)) { in emitT2RegPlusImmediate()
316 assert((ThisVal & 3) == 0 && "Stack update is not multiple of 4?"); in emitT2RegPlusImmediate()
320 .addImm(ThisVal / 4) in emitT2RegPlusImmediate()
333 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate()
334 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
335 NumBytes &= ~ThisVal; in emitT2RegPlusImmediate()
336 assert(ARM_AM::getT2SOImmVal(ThisVal) != -1 && in emitT2RegPlusImmediate()
344 } else if (ThisVal < 4096) { in emitT2RegPlusImmediate()
350 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate()
[all …]
DARMISelLowering.h706 SDValue ThisVal) const;
DARMBaseInstrInfo.cpp2229 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate() local
2230 assert(ThisVal && "Didn't extract field correctly"); in emitARMRegPlusImmediate()
2233 NumBytes &= ~ThisVal; in emitARMRegPlusImmediate()
2235 assert(ARM_AM::getSOImmVal(ThisVal) != -1 && "Bit extraction didn't work?"); in emitARMRegPlusImmediate()
2241 .addImm(ThisVal) in emitARMRegPlusImmediate()
DARMISelLowering.cpp1651 SDValue ThisVal) const { in LowerCallResult()
1667 InVals.push_back(ThisVal); in LowerCallResult()
/external/llvm/lib/Target/ARM/
DThumb2InstrInfo.cpp283 unsigned ThisVal = NumBytes; in emitT2RegPlusImmediate() local
296 if (DestReg == ARM::SP && (ThisVal < ((1 << 7)-1) * 4)) { in emitT2RegPlusImmediate()
297 assert((ThisVal & 3) == 0 && "Stack update is not multiple of 4?"); in emitT2RegPlusImmediate()
300 .addReg(BaseReg).addImm(ThisVal/4).setMIFlags(MIFlags)); in emitT2RegPlusImmediate()
311 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate()
312 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
313 NumBytes &= ~ThisVal; in emitT2RegPlusImmediate()
314 assert(ARM_AM::getT2SOImmVal(ThisVal) != -1 && in emitT2RegPlusImmediate()
322 } else if (ThisVal < 4096) { in emitT2RegPlusImmediate()
328 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate()
[all …]
DARMISelLowering.h595 SDValue ThisVal) const;
DARMBaseInstrInfo.cpp2017 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate() local
2018 assert(ThisVal && "Didn't extract field correctly"); in emitARMRegPlusImmediate()
2021 NumBytes &= ~ThisVal; in emitARMRegPlusImmediate()
2023 assert(ARM_AM::getSOImmVal(ThisVal) != -1 && "Bit extraction didn't work?"); in emitARMRegPlusImmediate()
2028 .addReg(BaseReg, RegState::Kill).addImm(ThisVal) in emitARMRegPlusImmediate()
DARMISelLowering.cpp1449 SDValue ThisVal) const { in LowerCallResult()
1468 InVals.push_back(ThisVal); in LowerCallResult()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp321 int64_t ThisVal = NumBytes; in emitIncrement() local
329 if (ThisVal < MinVal) in emitIncrement()
330 ThisVal = MinVal; in emitIncrement()
331 else if (ThisVal > MaxVal) in emitIncrement()
332 ThisVal = MaxVal; in emitIncrement()
335 .addReg(Reg).addImm(ThisVal); in emitIncrement()
338 NumBytes -= ThisVal; in emitIncrement()
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp300 int64_t ThisVal = NumBytes; in emitIncrement() local
308 if (ThisVal < MinVal) in emitIncrement()
309 ThisVal = MinVal; in emitIncrement()
310 else if (ThisVal > MaxVal) in emitIncrement()
311 ThisVal = MaxVal; in emitIncrement()
314 .addReg(Reg).addImm(ThisVal); in emitIncrement()
317 NumBytes -= ThisVal; in emitIncrement()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp286 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate() local
287 if (ThisVal == (Is64Bit ? 8 : 4)) { in emitSPUpdate()
302 Offset -= ThisVal; in emitSPUpdate()
308 MBB, MBBI, DL, isSub ? -ThisVal : ThisVal, InEpilogue); in emitSPUpdate()
314 Offset -= ThisVal; in emitSPUpdate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FrameLowering.cpp320 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate() local
321 if (ThisVal == SlotSize) { in emitSPUpdate()
334 Offset -= ThisVal; in emitSPUpdate()
339 BuildStackAdjustment(MBB, MBBI, DL, isSub ? -ThisVal : ThisVal, InEpilogue) in emitSPUpdate()
342 Offset -= ThisVal; in emitSPUpdate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.h262 SDValue ThisVal) const;
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2419 unsigned ThisVal; in emitFrameOffset() local
2421 ThisVal = MaxEncodableValue; in emitFrameOffset()
2423 ThisVal = Offset & MaxEncodableValue; in emitFrameOffset()
2425 assert((ThisVal >> ShiftSize) <= MaxEncoding && in emitFrameOffset()
2429 .addImm(ThisVal >> ShiftSize) in emitFrameOffset()
2434 Offset -= ThisVal; in emitFrameOffset()
DAArch64ISelLowering.h442 SDValue ThisVal) const;
DAArch64ISelLowering.cpp2717 SDValue ThisVal) const { in LowerCallResult()
2736 InVals.push_back(ThisVal); in LowerCallResult()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h542 SDValue ThisVal) const;
DAArch64InstrInfo.cpp2983 unsigned ThisVal; in emitFrameOffset() local
2985 ThisVal = MaxEncodableValue; in emitFrameOffset()
2987 ThisVal = Offset & MaxEncodableValue; in emitFrameOffset()
2989 assert((ThisVal >> ShiftSize) <= MaxEncoding && in emitFrameOffset()
2993 .addImm(ThisVal >> ShiftSize) in emitFrameOffset()
2998 Offset -= ThisVal; in emitFrameOffset()
DAArch64ISelLowering.cpp3231 SDValue ThisVal) const { in LowerCallResult()
3250 InVals.push_back(ThisVal); in LowerCallResult()
/external/clang/lib/AST/
DExprConstant.cpp4354 LValue *This = nullptr, ThisVal; in handleCallExpr() local
4363 if (!EvaluateObjectArgument(Info, ME->getBase(), ThisVal)) in handleCallExpr()
4366 This = &ThisVal; in handleCallExpr()
4370 Member = HandleMemberPointerAccess(Info, BE, ThisVal, false); in handleCallExpr()
4372 This = &ThisVal; in handleCallExpr()
4401 if (!EvaluateObjectArgument(Info, Args[0], ThisVal)) in handleCallExpr()
4403 This = &ThisVal; in handleCallExpr()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp745 Value *ThisVal = isValueEqualityComparison(TI); in SimplifyEqualityComparisonWithOnlyPredecessor() local
746 assert(ThisVal && "This isn't a value comparison!!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
747 if (ThisVal != PredVal) in SimplifyEqualityComparisonWithOnlyPredecessor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp808 Value *ThisVal = isValueEqualityComparison(TI); in SimplifyEqualityComparisonWithOnlyPredecessor() local
809 assert(ThisVal && "This isn't a value comparison!!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
810 if (ThisVal != PredVal) in SimplifyEqualityComparisonWithOnlyPredecessor()

12