Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp83 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare()
86 ThisVal = ThisVal.shl(getLsbWeight() - CommonLsb); in compare()
195 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed) in add()
219 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed) in sub()
241 ThisVal = ThisVal.sext(Wide); in mul()
244 ThisVal = ThisVal.zext(Wide); in mul()
301 ThisVal = ThisVal.sext(Wide); in div()
304 ThisVal = ThisVal.zext(Wide); in div()
311 ThisVal = ThisVal.shl(-CommonFXSema.getLsbWeight()); in div()
354 ThisVal = ThisVal.sext(Wide); in shl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp706 SVal ThisVal = getCXXThisVal(); in getExtraInvalidatedValues() local
707 Values.push_back(ThisVal); in getExtraInvalidatedValues()
740 if (isa<NonLoc>(ThisVal)) { in getCXXThisVal()
746 assert(ThisVal.isUnknownOrUndef() || isa<Loc>(ThisVal)); in getCXXThisVal()
747 return ThisVal; in getCXXThisVal()
821 SVal ThisVal = getCXXThisVal(); in getInitialStackFrameContents() local
822 if (!ThisVal.isUnknown()) { in getInitialStackFrameContents()
846 ThisVal = SVB.evalCast(ThisVal, Ty, StaticTy); in getInitialStackFrameContents()
848 ThisVal = *V; in getInitialStackFrameContents()
851 if (!ThisVal.isUnknown()) in getInitialStackFrameContents()
[all …]
H A DExprEngineCXX.cpp46 SVal ThisVal; in performTrivialCopy() local
52 ThisVal = Ctor->getCXXThisVal(); in performTrivialCopy()
59 ThisVal = cast<CXXInstanceCall>(Call).getCXXThisVal(); in performTrivialCopy()
84 evalBind(Dst, CallExpr, Pred, ThisVal, V, true); in performTrivialCopy()
93 State = State->BindExpr(CallExpr, LCtx, ThisVal); in performTrivialCopy()
148 SVal ThisVal = State->getSVal(ThisPtr); in computeObjectUnderConstruction() local
150 const auto *ThisReg = cast<SubRegion>(ThisVal.getAsRegion()); in computeObjectUnderConstruction()
159 return ThisVal; in computeObjectUnderConstruction()
168 FieldVal = State->getLValue(Init->getMember(), ThisVal); in computeObjectUnderConstruction()
706 SVal ThisVal = State->getSVal(ThisPtr); in handleConstructor() local
[all …]
H A DExprEngineCallAndReturn.cpp208 auto ThisVal = DtorCall.getCXXThisVal(); in getElementCountOfArrayBeingDestructed() local
210 if (auto ThisElementRegion = dyn_cast<ElementRegion>(ThisVal.getAsRegion())) { in getElementCountOfArrayBeingDestructed()
290 auto ThisVal = svalBuilder.getCXXThis(DtorDecl->getParent(), calleeCtx); in processCallExit() local
291 state = state->killBinding(ThisVal); in processCallExit()
H A DExprEngine.cpp1492 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor() local
1497 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy, in ProcessBaseDtor()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp142 SVal ThisVal = Call->getCXXThisVal(); in modelAssertionResultBoolConstructor() local
145 Call->getDecl()->getParent(), ThisVal, State); in modelAssertionResultBoolConstructor()
165 SVal ThisVal = Call->getCXXThisVal(); in modelAssertionResultCopyConstructor() local
171 ThisVal, State); in modelAssertionResultCopyConstructor()
H A DCXXSelfAssignmentChecker.cpp49 auto ThisVal = in checkBeginFunction() local
54 ProgramStateRef SelfAssignState = State->bindLoc(Param, ThisVal, LCtx); in checkBeginFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2InstrInfo.cpp353 unsigned ThisVal = NumBytes; in emitT2RegPlusImmediate() local
369 if ((DestReg == ARM::SP) && (ThisVal < ((1 << 7) - 1) * 4)) { in emitT2RegPlusImmediate()
370 assert((ThisVal & 3) == 0 && "Stack update is not multiple of 4?"); in emitT2RegPlusImmediate()
374 .addImm(ThisVal / 4) in emitT2RegPlusImmediate()
380 int ImmIsT2SO = ARM_AM::getT2SOImmVal(ThisVal); in emitT2RegPlusImmediate()
390 } else if (ThisVal < 4096) { in emitT2RegPlusImmediate()
399 unsigned RotAmt = llvm::countl_zero(ThisVal); in emitT2RegPlusImmediate()
400 ThisVal = ThisVal & llvm::rotr<uint32_t>(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
401 NumBytes &= ~ThisVal; in emitT2RegPlusImmediate()
402 assert(ARM_AM::getT2SOImmVal(ThisVal) != -1 && in emitT2RegPlusImmediate()
[all …]
H A DARMISelLowering.h894 SDValue ThisVal) const;
H A DARMBaseInstrInfo.cpp2488 unsigned ThisVal = NumBytes & llvm::rotr<uint32_t>(0xFF, RotAmt); in emitARMRegPlusImmediate() local
2489 assert(ThisVal && "Didn't extract field correctly"); in emitARMRegPlusImmediate()
2492 NumBytes &= ~ThisVal; in emitARMRegPlusImmediate()
2494 assert(ARM_AM::getSOImmVal(ThisVal) != -1 && "Bit extraction didn't work?"); in emitARMRegPlusImmediate()
2500 .addImm(ThisVal) in emitARMRegPlusImmediate()
H A DARMISelLowering.cpp2199 SDValue ThisVal) const { in LowerCallResult()
2215 InVals.push_back(ThisVal); in LowerCallResult()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp492 int64_t ThisVal = NumBytes; in emitIncrement() local
500 if (ThisVal < MinVal) in emitIncrement()
501 ThisVal = MinVal; in emitIncrement()
502 else if (ThisVal > MaxVal) in emitIncrement()
503 ThisVal = MaxVal; in emitIncrement()
506 .addReg(Reg).addImm(ThisVal); in emitIncrement()
509 NumBytes -= ThisVal; in emitIncrement()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp311 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate() local
312 if (ThisVal == SlotSize) { in emitSPUpdate()
323 Offset -= ThisVal; in emitSPUpdate()
328 BuildStackAdjustment(MBB, MBBI, DL, isSub ? -ThisVal : ThisVal, InEpilogue) in emitSPUpdate()
331 Offset -= ThisVal; in emitSPUpdate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.h404 SDValue ThisVal) const;
H A DSIISelLowering.cpp3176 SDValue ThisVal) const { in LowerCallResult()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp5334 uint64_t ThisVal = std::min<uint64_t>(Offset, MaxEncodableValue); in emitFrameOffsetAdj() local
5336 if (ThisVal > MaxEncoding) { in emitFrameOffsetAdj()
5337 ThisVal = ThisVal >> ShiftSize; in emitFrameOffsetAdj()
5340 assert((ThisVal >> ShiftSize) <= MaxEncoding && in emitFrameOffsetAdj()
5343 Offset -= ThisVal << LocalShiftSize; in emitFrameOffsetAdj()
5348 .addImm(Sign * (int)ThisVal); in emitFrameOffsetAdj()
5356 ? StackOffset::getFixed(ThisVal << LocalShiftSize) in emitFrameOffsetAdj()
5357 : StackOffset::getScalable(VScale * (ThisVal << LocalShiftSize)); in emitFrameOffsetAdj()
5376 int Imm = (int)(ThisVal << LocalShiftSize); in emitFrameOffsetAdj()
H A DAArch64ISelLowering.h1034 SDValue ThisVal, bool RequiresSMChange) const;
H A DAArch64ISelLowering.cpp7143 SDValue ThisVal, bool RequiresSMChange) const { in LowerCallResult() argument
7154 InVals.push_back(ThisVal); in LowerCallResult()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp7878 LValue *This = nullptr, ThisVal; in handleCallExpr() local
7889 if (!EvaluateObjectArgument(Info, ME->getBase(), ThisVal)) in handleCallExpr()
7894 This = &ThisVal; in handleCallExpr()
7899 HandleMemberPointerAccess(Info, BE, ThisVal, false); in handleCallExpr()
7905 This = &ThisVal; in handleCallExpr()
7909 return EvaluateObjectArgument(Info, PDE->getBase(), ThisVal) && in handleCallExpr()
7962 if (!EvaluateObjectArgument(Info, Args[0], ThisVal)) in handleCallExpr()
7968 This = &ThisVal; in handleCallExpr()
16487 LValue ThisVal; in EvaluateWithSubstitution() local
16497 EvaluateObjectArgument(Info, This, ThisVal) && in EvaluateWithSubstitution()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp897 Value *ThisVal = isValueEqualityComparison(TI); in SimplifyEqualityComparisonWithOnlyPredecessor() local
898 assert(ThisVal && "This isn't a value comparison!!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
899 if (ThisVal != PredVal) in SimplifyEqualityComparisonWithOnlyPredecessor()