• Home
  • Raw
  • Download

Lines Matching refs:InstCast

511       InstCast::OpKind CastKind;  in genTargetHelperCallFor()
518 CastKind = InstCast::Zext; in genTargetHelperCallFor()
522 CastKind = InstCast::Sext; in genTargetHelperCallFor()
526 CastKind = InstCast::Zext; in genTargetHelperCallFor()
530 CastKind = InstCast::Sext; in genTargetHelperCallFor()
546 Context.insert<InstCast>(CastKind, Src0_32, Src0); in genTargetHelperCallFor()
556 if (CastKind == InstCast::Zext) { in genTargetHelperCallFor()
564 Context.insert<InstCast>(CastKind, Src1_32, Src1); in genTargetHelperCallFor()
604 auto *CastInstr = llvm::cast<InstCast>(Instr); in genTargetHelperCallFor()
605 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor()
610 case InstCast::Fptosi: in genTargetHelperCallFor()
611 case InstCast::Fptoui: { in genTargetHelperCallFor()
615 const bool DestIsSigned = CastKind == InstCast::Fptosi; in genTargetHelperCallFor()
629 case InstCast::Sitofp: in genTargetHelperCallFor()
630 case InstCast::Uitofp: { in genTargetHelperCallFor()
634 const bool SourceIsSigned = CastKind == InstCast::Sitofp; in genTargetHelperCallFor()
648 case InstCast::Bitcast: { in genTargetHelperCallFor()
672 Context.insert<InstCast>(InstCast::Zext, Src0AsI32, Src0); in genTargetHelperCallFor()
680 Context.insert<InstCast>(InstCast::Zext, Src0AsI32, Src0); in genTargetHelperCallFor()
691 Context.insert<InstCast>(InstCast::Trunc, Dest, CallDest); in genTargetHelperCallFor()
695 case InstCast::Trunc: { in genTargetHelperCallFor()
707 case InstCast::Sext: in genTargetHelperCallFor()
708 case InstCast::Zext: { in genTargetHelperCallFor()
792 Context.insert<InstCast>(InstCast::Zext, ValExt, ValOp); in genTargetHelperCallFor()
3593 const auto *CastProducer = llvm::cast<InstCast>(Producer); in lowerInt1ForBranch()
3594 assert(CastProducer->getCastKind() == InstCast::Trunc); in lowerInt1ForBranch()
3891 void TargetARM32::lowerCast(const InstCast *Instr) { in lowerCast()
3892 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast()
3900 case InstCast::Sext: { in lowerCast()
3964 case InstCast::Zext: { in lowerCast()
4023 case InstCast::Trunc: { in lowerCast()
4042 case InstCast::Fptrunc: in lowerCast()
4043 case InstCast::Fpext: { in lowerCast()
4046 const bool IsTrunc = CastKind == InstCast::Fptrunc; in lowerCast()
4056 case InstCast::Fptosi: in lowerCast()
4057 case InstCast::Fptoui: { in lowerCast()
4058 const bool DestIsSigned = CastKind == InstCast::Fptosi; in lowerCast()
4091 lowerCast(InstCast::create(Func, InstCast::Trunc, T_1, T)); in lowerCast()
4097 case InstCast::Sitofp: in lowerCast()
4098 case InstCast::Uitofp: { in lowerCast()
4099 const bool SourceIsSigned = CastKind == InstCast::Sitofp; in lowerCast()
4125 lowerCast(InstCast::create( in lowerCast()
4126 Func, SourceIsSigned ? InstCast::Sext : InstCast::Zext, Src0R_32, in lowerCast()
4143 case InstCast::Bitcast: { in lowerCast()
6144 lowerCast(InstCast::create(Func, InstCast::Sext, T, Condition)); in lowerSelect()
6731 const auto *CastProducer = llvm::cast<InstCast>(Producer); in lowerInt1ForSelect()
6732 assert(CastProducer->getCastKind() == InstCast::Trunc); in lowerInt1ForSelect()
6832 const auto *CastProducer = llvm::cast<InstCast>(Producer); in lowerInt1()
6833 assert(CastProducer->getCastKind() == InstCast::Trunc); in lowerInt1()
6864 switch (llvm::cast<InstCast>(&Instr)->getCastKind()) { in shouldTrackProducer()
6867 case InstCast::Trunc: in shouldTrackProducer()
6892 switch (llvm::cast<InstCast>(&Instr)->getCastKind()) { in isValidConsumer()
6895 case InstCast::Sext: in isValidConsumer()
6897 case InstCast::Zext: in isValidConsumer()