• Home
  • Raw
  • Download

Lines Matching refs:Ext

2739       Instruction *Ext, TypePromotionTransaction &TPT,
2753 static Value *promoteOperandForOther(Instruction *Ext,
2763 Instruction *Ext, TypePromotionTransaction &TPT, in signExtendOperandForOther() argument
2767 return promoteOperandForOther(Ext, TPT, PromotedInsts, CreatedInstsCost, in signExtendOperandForOther()
2773 Instruction *Ext, TypePromotionTransaction &TPT, in zeroExtendOperandForOther() argument
2777 return promoteOperandForOther(Ext, TPT, PromotedInsts, CreatedInstsCost, in zeroExtendOperandForOther()
2783 typedef Value *(*Action)(Instruction *Ext, TypePromotionTransaction &TPT,
2798 static Action getAction(Instruction *Ext, const SetOfInstrs &InsertedInsts,
2868 Instruction *Ext, const SetOfInstrs &InsertedInsts, in getAction() argument
2870 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) && in getAction()
2872 Instruction *ExtOpnd = dyn_cast<Instruction>(Ext->getOperand(0)); in getAction()
2873 Type *ExtTy = Ext->getType(); in getAction()
2874 bool IsSExt = isa<SExtInst>(Ext); in getAction()
2949 Instruction *Ext, TypePromotionTransaction &TPT, in promoteOperandForOther() argument
2956 Instruction *ExtOpnd = cast<Instruction>(Ext->getOperand(0)); in promoteOperandForOther()
2963 Value *Trunc = TPT.createTrunc(Ext, ExtOpnd->getType()); in promoteOperandForOther()
2975 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther()
2988 TPT.mutateType(ExtOpnd, Ext->getType()); in promoteOperandForOther()
2990 TPT.replaceAllUsesWith(Ext, ExtOpnd); in promoteOperandForOther()
2992 Instruction *ExtForOpnd = Ext; in promoteOperandForOther()
2998 if (ExtOpnd->getOperand(OpIdx)->getType() == Ext->getType() || in promoteOperandForOther()
3007 unsigned BitWidth = Ext->getType()->getIntegerBitWidth(); in promoteOperandForOther()
3010 TPT.setOperand(ExtOpnd, OpIdx, ConstantInt::get(Ext->getType(), CstVal)); in promoteOperandForOther()
3016 TPT.setOperand(ExtOpnd, OpIdx, UndefValue::get(Ext->getType())); in promoteOperandForOther()
3025 Value *ValForExtOpnd = IsSExt ? TPT.createSExt(Ext, Opnd, Ext->getType()) in promoteOperandForOther()
3026 : TPT.createZExt(Ext, Opnd, Ext->getType()); in promoteOperandForOther()
3044 if (ExtForOpnd == Ext) { in promoteOperandForOther()
3046 TPT.eraseInstruction(Ext); in promoteOperandForOther()
3261 Instruction *Ext = dyn_cast<Instruction>(AddrInst); in matchOperationAddr() local
3262 if (!Ext) in matchOperationAddr()
3268 TypePromotionHelper::getAction(Ext, InsertedInsts, TLI, PromotedInsts); in matchOperationAddr()
3275 unsigned ExtCost = !TLI.isExtFree(Ext); in matchOperationAddr()
3277 TPH(Ext, TPT, PromotedInsts, CreatedInstsCost, nullptr, nullptr, TLI); in matchOperationAddr()