Home
last modified time | relevance | path

Searched refs:CIV (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/
H A Dstrengthen-overflow.ll12 ; CHECK-NEXT: [[CIV:%.*]] = phi i32 [ [[CIV_INC:%.*]], [[LATCH:%.*]] ], [ [[INIT]], [[LOOP_PREHE…
13 ; CHECK-NEXT: [[CIV_INC]] = add nsw i32 [[CIV]], 1
57 ; CHECK-NEXT: [[CIV:%.*]] = phi i32 [ [[CIV_INC:%.*]], [[LATCH:%.*]] ], [ [[INIT]], [[LOOP_PREHE…
58 ; CHECK-NEXT: [[CIV_INC]] = add i32 [[CIV]], 1
100 ; CHECK-NEXT: [[CIV:%.*]] = phi i32 [ [[CIV_INC:%.*]], [[LATCH:%.*]] ], [ [[INIT]], [[LOOP_PREHE…
101 ; CHECK-NEXT: [[CIV_INC]] = add nuw i32 [[CIV]], 1
144 ; CHECK-NEXT: [[CIV:%.*]] = phi i32 [ [[CIV_INC:%.*]], [[LATCH:%.*]] ], [ [[INIT]], [[LOOP_PREHE…
145 ; CHECK-NEXT: [[CIV_INC]] = add i32 [[CIV]], 1
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp625 Value *CIV, ParsedValues &PV, bool PreScan);
684 Value *CIV, ParsedValues &PV) { in matchLeftShift() argument
711 if (match(A, m_Shl(m_One(), m_Specific(CIV)))) { in matchLeftShift()
714 } else if (match(B, m_Shl(m_One(), m_Specific(CIV)))) { in matchLeftShift()
785 if (!match(T, m_Shl(m_Value(Q), m_Specific(CIV))) && in matchLeftShift()
915 if (matchLeftShift(SelI, CIV, PV)) { in scanSelect()
1311 Value *CIV = getCountIV(LoopB); in convertShiftsToLeft() local
1312 if (CIV == nullptr) in convertShiftsToLeft()
1314 auto *CIVTy = dyn_cast<IntegerType>(CIV->getType()); in convertShiftsToLeft()
1439 Value *ShAmt = CIV, *ShVal = Op; in convertShiftsToLeft()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2884 auto *CIV = Builder.CreatePHI(Ty, 2, CurLoop->getName() + ".iv"); in recognizeShiftUntilZero() local
2889 Builder.CreateAdd(CIV, ConstantInt::get(Ty, 1), CIV->getName() + ".next", in recognizeShiftUntilZero()
2902 auto *IVDePHId = Builder.CreateAdd(CIV, Start, "", /*HasNUW=*/false, in recognizeShiftUntilZero()
2912 CIV->addIncoming(ConstantInt::get(Ty, 0), LoopPreheaderBB); in recognizeShiftUntilZero()
2913 CIV->addIncoming(CIVNext, LoopHeaderBB); in recognizeShiftUntilZero()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp371 InlineAsm::ConstraintInfoVector CIV = IA->ParseConstraints(); in mightUseCTR() local
372 for (const InlineAsm::ConstraintInfo &C : CIV) { in mightUseCTR()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPatternMatch.h313 const APInt &CIV = CI->getValue(); in match() local
315 return CIV == static_cast<uint64_t>(Val); in match()
319 return -CIV == -Val; in match()