• Home
  • Raw
  • Download

Lines Matching refs:InstCast

201   if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) {
205 case InstCast::Trunc:
221 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) {
225 case InstCast::Sext:
227 case InstCast::Zext:
884 } else if (auto *Cast = llvm::dyn_cast<InstCast>(Next)) {
888 NewInst = InstCast::create(Func, Cast->getCastKind(),
2884 void TargetX86Base<TraitsType>::lowerCast(const InstCast *Instr) {
2886 InstCast::OpKind CastKind = Instr->getCastKind();
2893 case InstCast::Sext: {
2971 case InstCast::Zext: {
3016 case InstCast::Trunc: {
3048 case InstCast::Fptrunc:
3049 case InstCast::Fpext: {
3057 case InstCast::Fptosi:
3091 case InstCast::Fptoui:
3121 case InstCast::Sitofp:
3151 case InstCast::Uitofp: {
3180 case InstCast::Bitcast: {
3386 InstCast *Cast =
3387 InstCast::create(Func, InstCast::Trunc, T, ExtractedElementR);
3654 lowerCast(InstCast::create(Func, InstCast::Sext, NewSrc0, Src0));
3655 lowerCast(InstCast::create(Func, InstCast::Sext, NewSrc1, Src1));
3998 auto *Cast = InstCast::create(Func, InstCast::Zext, Expanded,
4197 auto *Cast = InstCast::create(Func, InstCast::Bitcast, Dest, T);
4241 auto *Cast = InstCast::create(Func, InstCast::Bitcast, T, Value);
5429 lowerCast(InstCast::create(Func, InstCast::Zext, ValExtVar, Val));
5594 if (auto *CastInst = llvm::dyn_cast<InstCast>(IndexInst)) {
5595 if (CastInst->getCastKind() == InstCast::Zext) {
6902 lowerCast(InstCast::create(Func, InstCast::Sext, xmm0, Condition));
6919 lowerCast(InstCast::create(Func, InstCast::Sext, T3, Condition));
6922 lowerCast(InstCast::create(Func, InstCast::Sext, T, Condition));
7249 llvm::dyn_cast_or_null<InstCast>(Context.getNextInst())) {
7250 if (NextCast->getCastKind() == InstCast::Sext &&
7468 } else if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) {
7469 InstCast::OpKind CastKind = Cast->getCastKind();
7479 case InstCast::Fptosi:
7488 case InstCast::Fptoui:
7512 case InstCast::Sitofp:
7521 case InstCast::Uitofp:
7541 case InstCast::Bitcast: {
7562 Context.insert<InstCast>(InstCast::Zext, Src0AsI32, Src0);
7570 Context.insert<InstCast>(InstCast::Zext, Src0AsI32, Src0);
7584 Context.insert<InstCast>(InstCast::Trunc, Dest, CallDest);