• Home
  • Raw
  • Download

Lines Matching refs:Opnd

2659     TruncBuilder(Instruction *Opnd, Type *Ty) : TypePromotionAction(Opnd) {  in TruncBuilder()  argument
2660 IRBuilder<> Builder(Opnd); in TruncBuilder()
2662 Val = Builder.CreateTrunc(Opnd, Ty, "promoted"); in TruncBuilder()
2685 SExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) in SExtBuilder() argument
2688 Val = Builder.CreateSExt(Opnd, Ty, "promoted"); in SExtBuilder()
2711 ZExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) in ZExtBuilder() argument
2715 Val = Builder.CreateZExt(Opnd, Ty, "promoted"); in ZExtBuilder()
2893 Value *createTrunc(Instruction *Opnd, Type *Ty);
2896 Value *createSExt(Instruction *Inst, Value *Opnd, Type *Ty);
2899 Value *createZExt(Instruction *Inst, Value *Opnd, Type *Ty);
2940 Value *TypePromotionTransaction::createTrunc(Instruction *Opnd, in createTrunc() argument
2942 std::unique_ptr<TruncBuilder> Ptr(new TruncBuilder(Opnd, Ty)); in createTrunc()
2949 Value *Opnd, Type *Ty) { in createSExt() argument
2950 std::unique_ptr<SExtBuilder> Ptr(new SExtBuilder(Inst, Opnd, Ty)); in createSExt()
2957 Value *Opnd, Type *Ty) { in createZExt() argument
2958 std::unique_ptr<ZExtBuilder> Ptr(new ZExtBuilder(Inst, Opnd, Ty)); in createZExt()
3873 Instruction *Opnd, in getOrigType() argument
3876 InstrToOrigTy::const_iterator It = PromotedInsts.find(Opnd); in getOrigType()
4060 Instruction *Opnd = dyn_cast<Instruction>(OpndVal); in canGetThrough() local
4061 if (!Opnd) in canGetThrough()
4068 const Type *OpndType = getOrigType(PromotedInsts, Opnd, IsSExt); in canGetThrough()
4071 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough()
4072 OpndType = Opnd->getOperand(0)->getType(); in canGetThrough()
4216 Value *Opnd = ExtOpnd->getOperand(OpIdx); in promoteOperandForOther() local
4217 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) { in promoteOperandForOther()
4226 if (isa<UndefValue>(Opnd)) { in promoteOperandForOther()
4237 Value *ValForExtOpnd = IsSExt ? TPT.createSExt(Ext, Opnd, Ext->getType()) in promoteOperandForOther()
4238 : TPT.createZExt(Ext, Opnd, Ext->getType()); in promoteOperandForOther()
4247 TPT.setOperand(ExtForOpnd, 0, Opnd); in promoteOperandForOther()