Home
last modified time | relevance | path

Searched refs:TruncI (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp396 Instruction *TruncI = IV->getTruncInst(); in optimizeInductions() local
399 IV->getStartValue(), Step, TruncI ? TruncI->getType() : nullptr); in optimizeInductions()
H A DVPlan.h1111 const TruncInst *TruncI = getTruncInst(); in getScalarType() local
1112 return TruncI ? TruncI->getType() : IV->getType(); in getScalarType()
H A DLoopVectorize.cpp8133 if (auto *TruncI = dyn_cast<TruncInst>(PhiOrTrunc)) { in createWidenInductionRecipes() local
8134 return new VPWidenIntOrFpInductionRecipe(Phi, Start, Step, IndDesc, TruncI, in createWidenInductionRecipes()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1853 auto *TruncI = cast<TruncInst>(User); in SinkShiftAndTruncate() local
1856 for (Value::user_iterator TruncUI = TruncI->user_begin(), in SinkShiftAndTruncate()
1857 TruncE = TruncI->user_end(); in SinkShiftAndTruncate()
1908 InsertedTrunc = CastInst::Create(TruncI->getOpcode(), InsertedShift, in SinkShiftAndTruncate()
1909 TruncI->getType(), "", &*TruncInsertPt); in SinkShiftAndTruncate()
1910 InsertedTrunc->setDebugLoc(TruncI->getDebugLoc()); in SinkShiftAndTruncate()