• Home
  • Raw
  • Download

Lines Matching refs:Instruction

81   case Instruction::Trunc   : return bitc::CAST_TRUNC;  in GetEncodedCastOpcode()
82 case Instruction::ZExt : return bitc::CAST_ZEXT; in GetEncodedCastOpcode()
83 case Instruction::SExt : return bitc::CAST_SEXT; in GetEncodedCastOpcode()
84 case Instruction::FPToUI : return bitc::CAST_FPTOUI; in GetEncodedCastOpcode()
85 case Instruction::FPToSI : return bitc::CAST_FPTOSI; in GetEncodedCastOpcode()
86 case Instruction::UIToFP : return bitc::CAST_UITOFP; in GetEncodedCastOpcode()
87 case Instruction::SIToFP : return bitc::CAST_SITOFP; in GetEncodedCastOpcode()
88 case Instruction::FPTrunc : return bitc::CAST_FPTRUNC; in GetEncodedCastOpcode()
89 case Instruction::FPExt : return bitc::CAST_FPEXT; in GetEncodedCastOpcode()
90 case Instruction::PtrToInt: return bitc::CAST_PTRTOINT; in GetEncodedCastOpcode()
91 case Instruction::IntToPtr: return bitc::CAST_INTTOPTR; in GetEncodedCastOpcode()
92 case Instruction::BitCast : return bitc::CAST_BITCAST; in GetEncodedCastOpcode()
99 case Instruction::Add: in GetEncodedBinaryOpcode()
100 case Instruction::FAdd: return bitc::BINOP_ADD; in GetEncodedBinaryOpcode()
101 case Instruction::Sub: in GetEncodedBinaryOpcode()
102 case Instruction::FSub: return bitc::BINOP_SUB; in GetEncodedBinaryOpcode()
103 case Instruction::Mul: in GetEncodedBinaryOpcode()
104 case Instruction::FMul: return bitc::BINOP_MUL; in GetEncodedBinaryOpcode()
105 case Instruction::UDiv: return bitc::BINOP_UDIV; in GetEncodedBinaryOpcode()
106 case Instruction::FDiv: in GetEncodedBinaryOpcode()
107 case Instruction::SDiv: return bitc::BINOP_SDIV; in GetEncodedBinaryOpcode()
108 case Instruction::URem: return bitc::BINOP_UREM; in GetEncodedBinaryOpcode()
109 case Instruction::FRem: in GetEncodedBinaryOpcode()
110 case Instruction::SRem: return bitc::BINOP_SREM; in GetEncodedBinaryOpcode()
111 case Instruction::Shl: return bitc::BINOP_SHL; in GetEncodedBinaryOpcode()
112 case Instruction::LShr: return bitc::BINOP_LSHR; in GetEncodedBinaryOpcode()
113 case Instruction::AShr: return bitc::BINOP_ASHR; in GetEncodedBinaryOpcode()
114 case Instruction::And: return bitc::BINOP_AND; in GetEncodedBinaryOpcode()
115 case Instruction::Or: return bitc::BINOP_OR; in GetEncodedBinaryOpcode()
116 case Instruction::Xor: return bitc::BINOP_XOR; in GetEncodedBinaryOpcode()
941 if (Instruction::isCast(CE->getOpcode())) { in WriteConstants()
958 case Instruction::GetElementPtr: in WriteConstants()
967 case Instruction::Select: in WriteConstants()
973 case Instruction::ExtractElement: in WriteConstants()
979 case Instruction::InsertElement: in WriteConstants()
985 case Instruction::ShuffleVector: in WriteConstants()
1000 case Instruction::ICmp: in WriteConstants()
1001 case Instruction::FCmp: in WriteConstants()
1062 static void WriteInstruction(const Instruction &I, unsigned InstID, in WriteInstruction()
1071 if (Instruction::isCast(I.getOpcode())) { in WriteInstruction()
1093 case Instruction::GetElementPtr: in WriteInstruction()
1100 case Instruction::ExtractValue: { in WriteInstruction()
1108 case Instruction::InsertValue: { in WriteInstruction()
1117 case Instruction::Select: in WriteInstruction()
1123 case Instruction::ExtractElement: in WriteInstruction()
1128 case Instruction::InsertElement: in WriteInstruction()
1134 case Instruction::ShuffleVector: in WriteInstruction()
1140 case Instruction::ICmp: in WriteInstruction()
1141 case Instruction::FCmp: in WriteInstruction()
1149 case Instruction::Ret: in WriteInstruction()
1164 case Instruction::Br: in WriteInstruction()
1175 case Instruction::Switch: in WriteInstruction()
1189 case Instruction::IndirectBr: in WriteInstruction()
1196 case Instruction::Invoke: { in WriteInstruction()
1221 case Instruction::Unreachable: in WriteInstruction()
1226 case Instruction::PHI: { in WriteInstruction()
1237 case Instruction::Alloca: in WriteInstruction()
1245 case Instruction::Load: in WriteInstruction()
1253 case Instruction::Store: in WriteInstruction()
1260 case Instruction::Call: { in WriteInstruction()
1283 case Instruction::VAArg: in WriteInstruction()