Lines Matching defs:PromotedInsts

335   InstrToOrigTy PromotedInsts;
384 PromotedInsts.clear();
3471 InstrToOrigTy &PromotedInsts;
3494 const SetOfInstrs &InsertedInsts, InstrToOrigTy &PromotedInsts,
3501 InsertedInsts(InsertedInsts), PromotedInsts(PromotedInsts), TPT(TPT),
3512 /// \p PromotedInsts maps the instructions to their type before promotion.
3520 InstrToOrigTy &PromotedInsts, TypePromotionTransaction &TPT,
3527 InsertedInsts, PromotedInsts, TPT,
4376 /// \p PromotedInsts and record the type of extension we have seen.
4377 static void addPromotedInst(InstrToOrigTy &PromotedInsts,
4380 InstrToOrigTy::iterator It = PromotedInsts.find(ExtOpnd);
4381 if (It != PromotedInsts.end()) {
4383 // PromotedInsts[ExtOpnd] is still correct.
4392 PromotedInsts[ExtOpnd] = TypeIsSExt(ExtOpnd->getType(), ExtTy);
4399 static const Type *getOrigType(const InstrToOrigTy &PromotedInsts,
4402 InstrToOrigTy::const_iterator It = PromotedInsts.find(Opnd);
4403 if (It != PromotedInsts.end() && It->second.getInt() == ExtTy)
4418 /// \p PromotedInsts maps the instructions to their type before promotion.
4420 const InstrToOrigTy &PromotedInsts, bool IsSExt);
4430 /// \p PromotedInsts maps the instructions to their type before promotion.
4439 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost,
4445 /// \p PromotedInsts maps the instructions to their type before promotion.
4454 InstrToOrigTy &PromotedInsts,
4463 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost,
4466 return promoteOperandForOther(Ext, TPT, PromotedInsts, CreatedInstsCost,
4473 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost,
4476 return promoteOperandForOther(Ext, TPT, PromotedInsts, CreatedInstsCost,
4483 InstrToOrigTy &PromotedInsts,
4497 /// \p PromotedInsts maps the instructions to their type before promotion.
4500 const InstrToOrigTy &PromotedInsts);
4507 const InstrToOrigTy &PromotedInsts,
4594 const Type *OpndType = getOrigType(PromotedInsts, Opnd, IsSExt);
4609 const TargetLowering &TLI, const InstrToOrigTy &PromotedInsts) {
4618 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt))
4642 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost,
4690 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost,
4724 addPromotedInst(PromotedInsts, ExtOpnd, IsSExt);
5037 TypePromotionHelper::getAction(Ext, InsertedInsts, TLI, PromotedInsts);
5046 TPH(Ext, TPT, PromotedInsts, CreatedInstsCost, nullptr, nullptr, TLI);
5405 InsertedInsts, PromotedInsts, TPT,
5518 *TRI, InsertedInsts, PromotedInsts, TPT, LargeOffsetGEP, OptSize, PSI,
6107 TypePromotionHelper::getAction(I, InsertedInsts, *TLI, PromotedInsts);
6122 Value *PromotedVal = TPH(I, TPT, PromotedInsts, NewCreatedInstsCost,