Lines Matching refs:PromotedInsts
270 InstrToOrigTy PromotedInsts; member in __anon6227213d0111::CodeGenPrepare
402 PromotedInsts.clear(); in runOnFunction()
2612 InstrToOrigTy &PromotedInsts; member in __anon6227213d0811::AddressingModeMatcher
2628 InstrToOrigTy &PromotedInsts, TypePromotionTransaction &TPT, in AddressingModeMatcher() argument
2633 PromotedInsts(PromotedInsts), TPT(TPT), LargeOffsetGEP(LargeOffsetGEP) { in AddressingModeMatcher()
2649 const SetOfInstrs &InsertedInsts, InstrToOrigTy &PromotedInsts, in Match() argument
2656 PromotedInsts, TPT, LargeOffsetGEP) in Match()
3428 static void addPromotedInst(InstrToOrigTy &PromotedInsts, in addPromotedInst() argument
3432 InstrToOrigTy::iterator It = PromotedInsts.find(ExtOpnd); in addPromotedInst()
3433 if (It != PromotedInsts.end()) { in addPromotedInst()
3444 PromotedInsts[ExtOpnd] = TypeIsSExt(ExtOpnd->getType(), ExtTy); in addPromotedInst()
3451 static const Type *getOrigType(const InstrToOrigTy &PromotedInsts, in getOrigType() argument
3455 InstrToOrigTy::const_iterator It = PromotedInsts.find(Opnd); in getOrigType()
3456 if (It != PromotedInsts.end() && It->second.getInt() == ExtTy) in getOrigType()
3473 const InstrToOrigTy &PromotedInsts, bool IsSExt);
3492 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost,
3507 InstrToOrigTy &PromotedInsts,
3516 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, in signExtendOperandForOther() argument
3519 return promoteOperandForOther(Ext, TPT, PromotedInsts, CreatedInstsCost, in signExtendOperandForOther()
3526 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, in zeroExtendOperandForOther() argument
3529 return promoteOperandForOther(Ext, TPT, PromotedInsts, CreatedInstsCost, in zeroExtendOperandForOther()
3536 InstrToOrigTy &PromotedInsts,
3553 const InstrToOrigTy &PromotedInsts);
3560 const InstrToOrigTy &PromotedInsts, in canGetThrough() argument
3649 const Type *OpndType = getOrigType(PromotedInsts, Opnd, IsSExt); in canGetThrough()
3664 const TargetLowering &TLI, const InstrToOrigTy &PromotedInsts) { in getAction() argument
3673 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt)) in getAction()
3697 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, in promoteOperandForTruncAndAnyExt() argument
3745 InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, in promoteOperandForOther() argument
3779 addPromotedInst(PromotedInsts, ExtOpnd, IsSExt); in promoteOperandForOther()
4090 TypePromotionHelper::getAction(Ext, InsertedInsts, TLI, PromotedInsts); in matchOperationAddr()
4099 TPH(Ext, TPT, PromotedInsts, CreatedInstsCost, nullptr, nullptr, TLI); in matchOperationAddr()
4450 InsertedInsts, PromotedInsts, TPT, LargeOffsetGEP); in isProfitableToFoldIntoAddressingMode()
4556 InsertedInsts, PromotedInsts, TPT, LargeOffsetGEP); in optimizeMemoryInst()
4966 TypePromotionHelper::getAction(I, InsertedInsts, *TLI, PromotedInsts); in tryToPromoteExts()
4981 Value *PromotedVal = TPH(I, TPT, PromotedInsts, NewCreatedInstsCost, in tryToPromoteExts()