Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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.sextOrSelf(Wide); in mul()
239 ThisVal = ThisVal.zextOrSelf(Wide); in mul()
293 ThisVal = ThisVal.sextOrSelf(Wide); in div()
296 ThisVal = ThisVal.zextOrSelf(Wide); in div()
302 ThisVal = ThisVal.shl(CommonFXSema.getScale()); in div()
343 ThisVal = ThisVal.sextOrSelf(Wide); in shl()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp718 SVal ThisVal = getCXXThisVal(); in getExtraInvalidatedValues() local
719 Values.push_back(ThisVal); in getExtraInvalidatedValues()
753 SVal ThisVal = getSVal(Base); in getCXXThisVal() local
754 assert(ThisVal.isUnknownOrUndef() || ThisVal.getAs<Loc>()); in getCXXThisVal()
755 return ThisVal; in getCXXThisVal()
828 SVal ThisVal = getCXXThisVal(); in getInitialStackFrameContents() local
829 if (!ThisVal.isUnknown()) { in getInitialStackFrameContents()
845 ThisVal = StateMgr.getStoreManager().attemptDownCast(ThisVal, Ty, Failed); in getInitialStackFrameContents()
853 ThisVal = SVB.evalCast(ThisVal, Ty, StaticTy); in getInitialStackFrameContents()
857 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()
137 SVal ThisVal = State->getSVal(ThisPtr); in computeObjectUnderConstruction() local
139 const auto *ThisReg = cast<SubRegion>(ThisVal.getAsRegion()); in computeObjectUnderConstruction()
148 return ThisVal; in computeObjectUnderConstruction()
157 FieldVal = State->getLValue(Init->getMember(), ThisVal); in computeObjectUnderConstruction()
545 SVal ThisVal = State->getSVal(ThisPtr); in handleConstructor() local
[all …]
H A DExprEngine.cpp1032 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor() local
1037 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy, in ProcessBaseDtor()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2InstrInfo.cpp339 unsigned ThisVal = NumBytes; in emitT2RegPlusImmediate() local
355 if ((DestReg == ARM::SP) && (ThisVal < ((1 << 7) - 1) * 4)) { in emitT2RegPlusImmediate()
356 assert((ThisVal & 3) == 0 && "Stack update is not multiple of 4?"); in emitT2RegPlusImmediate()
360 .addImm(ThisVal / 4) in emitT2RegPlusImmediate()
366 int ImmIsT2SO = ARM_AM::getT2SOImmVal(ThisVal); in emitT2RegPlusImmediate()
376 } else if (ThisVal < 4096) { in emitT2RegPlusImmediate()
385 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate()
386 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
387 NumBytes &= ~ThisVal; in emitT2RegPlusImmediate()
388 assert(ARM_AM::getT2SOImmVal(ThisVal) != -1 && in emitT2RegPlusImmediate()
[all …]
H A DARMISelLowering.h868 SDValue ThisVal) const;
H A DARMBaseInstrInfo.cpp2463 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate() local
2464 assert(ThisVal && "Didn't extract field correctly"); in emitARMRegPlusImmediate()
2467 NumBytes &= ~ThisVal; in emitARMRegPlusImmediate()
2469 assert(ARM_AM::getSOImmVal(ThisVal) != -1 && "Bit extraction didn't work?"); in emitARMRegPlusImmediate()
2475 .addImm(ThisVal) in emitARMRegPlusImmediate()
H A DARMISelLowering.cpp2116 SDValue ThisVal) const { in LowerCallResult()
2132 InVals.push_back(ThisVal); in LowerCallResult()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp366 int64_t ThisVal = NumBytes; in emitIncrement() local
374 if (ThisVal < MinVal) in emitIncrement()
375 ThisVal = MinVal; in emitIncrement()
376 else if (ThisVal > MaxVal) in emitIncrement()
377 ThisVal = MaxVal; in emitIncrement()
380 .addReg(Reg).addImm(ThisVal); in emitIncrement()
383 NumBytes -= ThisVal; in emitIncrement()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp289 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate() local
290 if (ThisVal == SlotSize) { in emitSPUpdate()
303 Offset -= ThisVal; in emitSPUpdate()
308 BuildStackAdjustment(MBB, MBBI, DL, isSub ? -ThisVal : ThisVal, InEpilogue) in emitSPUpdate()
311 Offset -= ThisVal; in emitSPUpdate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.h347 SDValue ThisVal) const;
H A DSIISelLowering.cpp2667 SDValue ThisVal) const { in LowerCallResult()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp4045 uint64_t ThisVal = std::min<uint64_t>(Offset, MaxEncodableValue); in emitFrameOffsetAdj() local
4047 if (ThisVal > MaxEncoding) { in emitFrameOffsetAdj()
4048 ThisVal = ThisVal >> ShiftSize; in emitFrameOffsetAdj()
4051 assert((ThisVal >> ShiftSize) <= MaxEncoding && in emitFrameOffsetAdj()
4054 Offset -= ThisVal << LocalShiftSize; in emitFrameOffsetAdj()
4059 .addImm(Sign * (int)ThisVal); in emitFrameOffsetAdj()
4067 int Imm = (int)(ThisVal << LocalShiftSize); in emitFrameOffsetAdj()
H A DAArch64ISelLowering.h860 SDValue ThisVal) const;
H A DAArch64ISelLowering.cpp5468 SDValue ThisVal) const { in LowerCallResult()
5486 InVals.push_back(ThisVal); in LowerCallResult()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp7536 LValue *This = nullptr, ThisVal; in handleCallExpr() local
7547 if (!EvaluateObjectArgument(Info, ME->getBase(), ThisVal)) in handleCallExpr()
7552 This = &ThisVal; in handleCallExpr()
7557 HandleMemberPointerAccess(Info, BE, ThisVal, false); in handleCallExpr()
7563 This = &ThisVal; in handleCallExpr()
7567 return EvaluateObjectArgument(Info, PDE->getBase(), ThisVal) && in handleCallExpr()
7611 if (!EvaluateObjectArgument(Info, Args[0], ThisVal)) in handleCallExpr()
7613 This = &ThisVal; in handleCallExpr()
15618 LValue ThisVal; in EvaluateWithSubstitution() local
15627 EvaluateObjectArgument(Info, This, ThisVal) && in EvaluateWithSubstitution()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp848 Value *ThisVal = isValueEqualityComparison(TI); in SimplifyEqualityComparisonWithOnlyPredecessor() local
849 assert(ThisVal && "This isn't a value comparison!!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
850 if (ThisVal != PredVal) in SimplifyEqualityComparisonWithOnlyPredecessor()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp12992 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR() local
12993 Ops.push_back(DAG.getConstant(ThisVal, DL, DstEltVT)); in ConstantFoldBITCASTofBUILD_VECTOR()