Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp74 APSInt ThisVal = getValue(); in compare() local
83 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare()
86 ThisVal = ThisVal.shl(getLsbWeight() - CommonLsb); in compare()
90 if (ThisVal.sgt(OtherVal)) in compare()
92 else if (ThisVal.slt(OtherVal)) in compare()
95 if (ThisVal.ugt(OtherVal)) in compare()
97 else if (ThisVal.ult(OtherVal)) in compare()
100 if (ThisVal.isSignBitSet()) in compare()
102 else if (ThisVal.ugt(OtherVal)) in compare()
104 else if (ThisVal.ult(OtherVal)) in compare()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp706 SVal ThisVal = getCXXThisVal(); in getExtraInvalidatedValues() local
707 Values.push_back(ThisVal); in getExtraInvalidatedValues()
726 const MemRegion *ThisRegion = ThisVal.getAsRegion(); in getExtraInvalidatedValues()
738 SVal ThisVal = Base ? getSVal(Base) : UnknownVal(); in getCXXThisVal() local
740 if (isa<NonLoc>(ThisVal)) { in getCXXThisVal()
742 QualType OriginalTy = ThisVal.getType(SVB.getContext()); in getCXXThisVal()
743 return SVB.evalCast(ThisVal, Base->getType(), OriginalTy); in getCXXThisVal()
746 assert(ThisVal.isUnknownOrUndef() || isa<Loc>(ThisVal)); in getCXXThisVal()
747 return ThisVal; in getCXXThisVal()
821 SVal ThisVal = getCXXThisVal(); in getInitialStackFrameContents() local
[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()
165 FieldVal = State->getLValue(Init->getIndirectMember(), ThisVal); in computeObjectUnderConstruction()
168 FieldVal = State->getLValue(Init->getMember(), ThisVal); in computeObjectUnderConstruction()
[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/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2InstrInfo.cpp373 unsigned ThisVal = NumBytes; in emitT2RegPlusImmediate() local
389 if ((DestReg == ARM::SP) && (ThisVal < ((1 << 7) - 1) * 4)) { in emitT2RegPlusImmediate()
390 assert((ThisVal & 3) == 0 && "Stack update is not multiple of 4?"); in emitT2RegPlusImmediate()
394 .addImm(ThisVal / 4) in emitT2RegPlusImmediate()
400 int ImmIsT2SO = ARM_AM::getT2SOImmVal(ThisVal); in emitT2RegPlusImmediate()
410 } else if (ThisVal < 4096) { in emitT2RegPlusImmediate()
419 unsigned RotAmt = llvm::countl_zero(ThisVal); in emitT2RegPlusImmediate()
420 ThisVal = ThisVal & llvm::rotr<uint32_t>(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
421 NumBytes &= ~ThisVal; in emitT2RegPlusImmediate()
422 assert(ARM_AM::getT2SOImmVal(ThisVal) != -1 && in emitT2RegPlusImmediate()
[all …]
H A DARMISelLowering.h897 SDValue ThisVal, bool isCmseNSCall) const;
H A DARMBaseInstrInfo.cpp2489 unsigned ThisVal = NumBytes & llvm::rotr<uint32_t>(0xFF, RotAmt); in emitARMRegPlusImmediate() local
2490 assert(ThisVal && "Didn't extract field correctly"); in emitARMRegPlusImmediate()
2493 NumBytes &= ~ThisVal; in emitARMRegPlusImmediate()
2495 assert(ARM_AM::getSOImmVal(ThisVal) != -1 && "Bit extraction didn't work?"); in emitARMRegPlusImmediate()
2501 .addImm(ThisVal) in emitARMRegPlusImmediate()
H A DARMISelLowering.cpp2207 SDValue ThisVal, bool isCmseNSCall) const { in LowerCallResult() argument
2223 InVals.push_back(ThisVal); in LowerCallResult()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXSelfAssignmentChecker.cpp49 auto ThisVal = in checkBeginFunction() local
54 ProgramStateRef SelfAssignState = State->bindLoc(Param, ThisVal, LCtx); in checkBeginFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp369 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate() local
372 MBB, MBBI, DL, IsSub ? -ThisVal : ThisVal, InEpilogue); in emitSPUpdate()
378 Offset -= ThisVal; in emitSPUpdate()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp482 int64_t ThisVal = NumBytes; in emitIncrement() local
490 if (ThisVal < MinVal) in emitIncrement()
491 ThisVal = MinVal; in emitIncrement()
492 else if (ThisVal > MaxVal) in emitIncrement()
493 ThisVal = MaxVal; in emitIncrement()
496 .addReg(Reg).addImm(ThisVal); in emitIncrement()
499 NumBytes -= ThisVal; in emitIncrement()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp312 uint64_t ThisVal = std::min(Offset, Chunk); in emitSPUpdate() local
313 if (ThisVal == SlotSize) { in emitSPUpdate()
324 Offset -= ThisVal; in emitSPUpdate()
329 BuildStackAdjustment(MBB, MBBI, DL, isSub ? -ThisVal : ThisVal, InEpilogue) in emitSPUpdate()
332 Offset -= ThisVal; in emitSPUpdate()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp5376 uint64_t ThisVal = std::min<uint64_t>(Offset, MaxEncodableValue); in emitFrameOffsetAdj() local
5378 if (ThisVal > MaxEncoding) { in emitFrameOffsetAdj()
5379 ThisVal = ThisVal >> ShiftSize; in emitFrameOffsetAdj()
5382 assert((ThisVal >> ShiftSize) <= MaxEncoding && in emitFrameOffsetAdj()
5385 Offset -= ThisVal << LocalShiftSize; in emitFrameOffsetAdj()
5390 .addImm(Sign * (int)ThisVal); in emitFrameOffsetAdj()
5398 ? StackOffset::getFixed(ThisVal << LocalShiftSize) in emitFrameOffsetAdj()
5399 : StackOffset::getScalable(VScale * (ThisVal << LocalShiftSize)); in emitFrameOffsetAdj()
5418 int Imm = (int)(ThisVal << LocalShiftSize); in emitFrameOffsetAdj()
H A DAArch64ISelLowering.h1064 SDValue ThisVal, bool RequiresSMChange) const;
H A DAArch64ISelLowering.cpp7810 SDValue ThisVal, bool RequiresSMChange) const { in LowerCallResult() argument
7821 InVals.push_back(ThisVal); in LowerCallResult()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.h410 SDValue ThisVal) const;
H A DSIISelLowering.cpp3257 SDValue ThisVal) const { in LowerCallResult()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp7941 LValue *This = nullptr, ThisVal; in handleCallExpr() local
7952 if (!EvaluateObjectArgument(Info, ME->getBase(), ThisVal)) in handleCallExpr()
7957 This = &ThisVal; in handleCallExpr()
7962 HandleMemberPointerAccess(Info, BE, ThisVal, false); in handleCallExpr()
7968 This = &ThisVal; in handleCallExpr()
7972 return EvaluateObjectArgument(Info, PDE->getBase(), ThisVal) && in handleCallExpr()
7973 HandleDestruction(Info, PDE, ThisVal, PDE->getDestroyedType()); in handleCallExpr()
8025 if (!EvaluateObjectArgument(Info, Args[0], ThisVal)) in handleCallExpr()
8031 This = &ThisVal; in handleCallExpr()
8038 !MaybeHandleUnionActiveMemberChange(Info, Args[0], ThisVal)) in handleCallExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp900 Value *ThisVal = isValueEqualityComparison(TI); in SimplifyEqualityComparisonWithOnlyPredecessor() local
901 assert(ThisVal && "This isn't a value comparison!!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
902 if (ThisVal != PredVal) in SimplifyEqualityComparisonWithOnlyPredecessor()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3379 llvm::Value *ThisVal = loadIncomingCXXThis(CGF); in getOrCreateVirtualFunctionPointerThunk() local
3380 setCXXABIThisValue(CGF, ThisVal); in getOrCreateVirtualFunctionPointerThunk()