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.cpp2137 CastInst *&InsertedTrunc = InsertedTruncs[TruncUserBB]; in SinkShiftAndTruncate() local
2139 if (!InsertedShift && !InsertedTrunc) { in SinkShiftAndTruncate()
2159 InsertedTrunc = CastInst::Create(TruncI->getOpcode(), InsertedShift, in SinkShiftAndTruncate()
2161 InsertedTrunc->insertBefore(*TruncUserBB, TruncInsertPt); in SinkShiftAndTruncate()
2162 InsertedTrunc->setDebugLoc(TruncI->getDebugLoc()); in SinkShiftAndTruncate()
2166 TruncTheUse = InsertedTrunc; in SinkShiftAndTruncate()
6772 Instruction *&InsertedTrunc = InsertedTruncs[UserBB]; in optimizeExtUses() local
6774 if (!InsertedTrunc) { in optimizeExtUses()
6777 InsertedTrunc = new TruncInst(I, Src->getType(), ""); in optimizeExtUses()
6778 InsertedTrunc->insertBefore(*UserBB, InsertPt); in optimizeExtUses()
[all …]