Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2384 CastInst *&InsertedTrunc = InsertedTruncs[TruncUserBB]; in SinkShiftAndTruncate() local
2386 if (!InsertedShift && !InsertedTrunc) { in SinkShiftAndTruncate()
2406 InsertedTrunc = CastInst::Create(TruncI->getOpcode(), InsertedShift, in SinkShiftAndTruncate()
2408 InsertedTrunc->insertBefore(*TruncUserBB, TruncInsertPt); in SinkShiftAndTruncate()
2409 InsertedTrunc->setDebugLoc(TruncI->getDebugLoc()); in SinkShiftAndTruncate()
2413 TruncTheUse = InsertedTrunc; in SinkShiftAndTruncate()
7161 Instruction *&InsertedTrunc = InsertedTruncs[UserBB]; in optimizeExtUses() local
7163 if (!InsertedTrunc) { in optimizeExtUses()
7166 InsertedTrunc = new TruncInst(I, Src->getType(), ""); in optimizeExtUses()
7167 InsertedTrunc->insertBefore(*UserBB, InsertPt); in optimizeExtUses()
[all …]