Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFixedPoint.cpp78 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare()
82 ThisVal = ThisVal.shl(CommonScale - getScale()); in compare()
190 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed) in add()
214 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed) in sub()
236 ThisVal = ThisVal.sext(Wide); in mul()
239 ThisVal = ThisVal.zext(Wide); in mul()
293 ThisVal = ThisVal.sext(Wide); in div()
296 ThisVal = ThisVal.zext(Wide); in div()
302 ThisVal = ThisVal.shl(CommonFXSema.getScale()); in div()
343 ThisVal = ThisVal.sext(Wide); in shl()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp647 SVal ThisVal = getCXXThisVal(); in getExtraInvalidatedValues() local
648 Values.push_back(ThisVal); in getExtraInvalidatedValues()
682 SVal ThisVal = getSVal(Base); in getCXXThisVal() local
683 assert(ThisVal.isUnknownOrUndef() || isa<Loc>(ThisVal)); in getCXXThisVal()
684 return ThisVal; in getCXXThisVal()
757 SVal ThisVal = getCXXThisVal(); in getInitialStackFrameContents() local
758 if (!ThisVal.isUnknown()) { in getInitialStackFrameContents()
782 ThisVal = SVB.evalCast(ThisVal, Ty, StaticTy); in getInitialStackFrameContents()
784 ThisVal = *V; in getInitialStackFrameContents()
787 if (!ThisVal.isUnknown()) in getInitialStackFrameContents()
[all …]
H A DExprEngineCXX.cpp42 SVal ThisVal; in performTrivialCopy() local
48 ThisVal = Ctor->getCXXThisVal(); in performTrivialCopy()
55 ThisVal = cast<CXXInstanceCall>(Call).getCXXThisVal(); in performTrivialCopy()
83 evalBind(Dst, CallExpr, Pred, ThisVal, V, true); in performTrivialCopy()
90 State = State->BindExpr(CallExpr, LCtx, ThisVal); in performTrivialCopy()
139 SVal ThisVal = State->getSVal(ThisPtr); in computeObjectUnderConstruction() local
141 const auto *ThisReg = cast<SubRegion>(ThisVal.getAsRegion()); in computeObjectUnderConstruction()
150 return ThisVal; in computeObjectUnderConstruction()
159 FieldVal = State->getLValue(Init->getMember(), ThisVal); in computeObjectUnderConstruction()
648 SVal ThisVal = State->getSVal(ThisPtr); in handleConstructor() local
[all …]
H A DExprEngine.cpp1202 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor() local
1207 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy, in ProcessBaseDtor()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp143 SVal ThisVal = Call->getCXXThisVal(); in modelAssertionResultBoolConstructor() local
146 Call->getDecl()->getParent(), ThisVal, State); in modelAssertionResultBoolConstructor()
166 SVal ThisVal = Call->getCXXThisVal(); in modelAssertionResultCopyConstructor() local
172 ThisVal, State); in modelAssertionResultCopyConstructor()
H A DCXXSelfAssignmentChecker.cpp49 auto ThisVal = in checkBeginFunction() local
54 ProgramStateRef SelfAssignState = State->bindLoc(Param, ThisVal, LCtx); in checkBeginFunction()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DThumb2InstrInfo.cpp351 unsigned ThisVal = NumBytes; in emitT2RegPlusImmediate() local
367 if ((DestReg == ARM::SP) && (ThisVal < ((1 << 7) - 1) * 4)) { in emitT2RegPlusImmediate()
368 assert((ThisVal & 3) == 0 && "Stack update is not multiple of 4?"); in emitT2RegPlusImmediate()
372 .addImm(ThisVal / 4) in emitT2RegPlusImmediate()
378 int ImmIsT2SO = ARM_AM::getT2SOImmVal(ThisVal); in emitT2RegPlusImmediate()
388 } else if (ThisVal < 4096) { in emitT2RegPlusImmediate()
397 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate()
398 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
399 NumBytes &= ~ThisVal; in emitT2RegPlusImmediate()
400 assert(ARM_AM::getT2SOImmVal(ThisVal) != -1 && in emitT2RegPlusImmediate()
[all …]
H A DARMISelLowering.h876 SDValue ThisVal) const;
H A DARMBaseInstrInfo.cpp2498 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate() local
2499 assert(ThisVal && "Didn't extract field correctly"); in emitARMRegPlusImmediate()
2502 NumBytes &= ~ThisVal; in emitARMRegPlusImmediate()
2504 assert(ARM_AM::getSOImmVal(ThisVal) != -1 && "Bit extraction didn't work?"); in emitARMRegPlusImmediate()
2510 .addImm(ThisVal) in emitARMRegPlusImmediate()
H A DARMISelLowering.cpp2171 SDValue ThisVal) const { in LowerCallResult()
2187 InVals.push_back(ThisVal); in LowerCallResult()
/llvm-project-15.0.7/polly/lib/Support/
H A DISLTools.cpp555 isl::val ThisVal = Aff.get_constant_val(); in getConstant() local
557 Result = ThisVal; in getConstant()
561 if (Result.eq(ThisVal)) in getConstant()
564 if (Max && ThisVal.gt(Result)) { in getConstant()
565 Result = ThisVal; in getConstant()
569 if (Min && ThisVal.lt(Result)) { in getConstant()
570 Result = ThisVal; in getConstant()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp491 int64_t ThisVal = NumBytes; in emitIncrement() local
499 if (ThisVal < MinVal) in emitIncrement()
500 ThisVal = MinVal; in emitIncrement()
501 else if (ThisVal > MaxVal) in emitIncrement()
502 ThisVal = MaxVal; in emitIncrement()
505 .addReg(Reg).addImm(ThisVal); in emitIncrement()
508 NumBytes -= ThisVal; in emitIncrement()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp371 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate() local
374 MBB, MBBI, DL, IsSub ? -ThisVal : ThisVal, InEpilogue); in emitSPUpdate()
380 Offset -= ThisVal; in emitSPUpdate()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp301 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate() local
302 if (ThisVal == SlotSize) { in emitSPUpdate()
315 Offset -= ThisVal; in emitSPUpdate()
320 BuildStackAdjustment(MBB, MBBI, DL, isSub ? -ThisVal : ThisVal, InEpilogue) in emitSPUpdate()
323 Offset -= ThisVal; in emitSPUpdate()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp4289 uint64_t ThisVal = std::min<uint64_t>(Offset, MaxEncodableValue); in emitFrameOffsetAdj() local
4291 if (ThisVal > MaxEncoding) { in emitFrameOffsetAdj()
4292 ThisVal = ThisVal >> ShiftSize; in emitFrameOffsetAdj()
4295 assert((ThisVal >> ShiftSize) <= MaxEncoding && in emitFrameOffsetAdj()
4298 Offset -= ThisVal << LocalShiftSize; in emitFrameOffsetAdj()
4303 .addImm(Sign * (int)ThisVal); in emitFrameOffsetAdj()
4311 ? StackOffset::getFixed(ThisVal << LocalShiftSize) in emitFrameOffsetAdj()
4312 : StackOffset::getScalable(VScale * (ThisVal << LocalShiftSize)); in emitFrameOffsetAdj()
4331 int Imm = (int)(ThisVal << LocalShiftSize); in emitFrameOffsetAdj()
H A DAArch64ISelLowering.h900 SDValue ThisVal) const;
H A DAArch64ISelLowering.cpp6162 SDValue ThisVal) const { in LowerCallResult()
6173 InVals.push_back(ThisVal); in LowerCallResult()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.h367 SDValue ThisVal) const;
H A DSIISelLowering.cpp2697 SDValue ThisVal) const { in LowerCallResult()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp7615 LValue *This = nullptr, ThisVal; in handleCallExpr() local
7626 if (!EvaluateObjectArgument(Info, ME->getBase(), ThisVal)) in handleCallExpr()
7631 This = &ThisVal; in handleCallExpr()
7636 HandleMemberPointerAccess(Info, BE, ThisVal, false); in handleCallExpr()
7642 This = &ThisVal; in handleCallExpr()
7690 if (!EvaluateObjectArgument(Info, Args[0], ThisVal)) in handleCallExpr()
7692 This = &ThisVal; in handleCallExpr()
7699 !HandleUnionActiveMemberChange(Info, Args[0], ThisVal)) in handleCallExpr()
15854 LValue ThisVal; in EvaluateWithSubstitution() local
15863 EvaluateObjectArgument(Info, This, ThisVal) && in EvaluateWithSubstitution()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp888 Value *ThisVal = isValueEqualityComparison(TI); in SimplifyEqualityComparisonWithOnlyPredecessor() local
889 assert(ThisVal && "This isn't a value comparison!!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
890 if (ThisVal != PredVal) in SimplifyEqualityComparisonWithOnlyPredecessor()