Lines Matching refs:Instruction

81   case Instruction::Trunc   : return bitc::CAST_TRUNC;
82 case Instruction::ZExt : return bitc::CAST_ZEXT;
83 case Instruction::SExt : return bitc::CAST_SEXT;
84 case Instruction::FPToUI : return bitc::CAST_FPTOUI;
85 case Instruction::FPToSI : return bitc::CAST_FPTOSI;
86 case Instruction::UIToFP : return bitc::CAST_UITOFP;
87 case Instruction::SIToFP : return bitc::CAST_SITOFP;
88 case Instruction::FPTrunc : return bitc::CAST_FPTRUNC;
89 case Instruction::FPExt : return bitc::CAST_FPEXT;
90 case Instruction::PtrToInt: return bitc::CAST_PTRTOINT;
91 case Instruction::IntToPtr: return bitc::CAST_INTTOPTR;
92 case Instruction::BitCast : return bitc::CAST_BITCAST;
99 case Instruction::Add:
100 case Instruction::FAdd: return bitc::BINOP_ADD;
101 case Instruction::Sub:
102 case Instruction::FSub: return bitc::BINOP_SUB;
103 case Instruction::Mul:
104 case Instruction::FMul: return bitc::BINOP_MUL;
105 case Instruction::UDiv: return bitc::BINOP_UDIV;
106 case Instruction::FDiv:
107 case Instruction::SDiv: return bitc::BINOP_SDIV;
108 case Instruction::URem: return bitc::BINOP_UREM;
109 case Instruction::FRem:
110 case Instruction::SRem: return bitc::BINOP_SREM;
111 case Instruction::Shl: return bitc::BINOP_SHL;
112 case Instruction::LShr: return bitc::BINOP_LSHR;
113 case Instruction::AShr: return bitc::BINOP_ASHR;
114 case Instruction::And: return bitc::BINOP_AND;
115 case Instruction::Or: return bitc::BINOP_OR;
116 case Instruction::Xor: return bitc::BINOP_XOR;
940 if (Instruction::isCast(CE->getOpcode())) {
957 case Instruction::GetElementPtr:
966 case Instruction::Select:
972 case Instruction::ExtractElement:
978 case Instruction::InsertElement:
984 case Instruction::ShuffleVector:
999 case Instruction::ICmp:
1000 case Instruction::FCmp:
1061 static void WriteInstruction(const Instruction &I, unsigned InstID,
1070 if (Instruction::isCast(I.getOpcode())) {
1092 case Instruction::GetElementPtr:
1099 case Instruction::ExtractValue: {
1107 case Instruction::InsertValue: {
1116 case Instruction::Select:
1122 case Instruction::ExtractElement:
1127 case Instruction::InsertElement:
1133 case Instruction::ShuffleVector:
1139 case Instruction::ICmp:
1140 case Instruction::FCmp:
1148 case Instruction::Ret:
1163 case Instruction::Br:
1174 case Instruction::Switch:
1188 case Instruction::IndirectBr:
1195 case Instruction::Invoke: {
1220 case Instruction::Unreachable:
1225 case Instruction::PHI: {
1236 case Instruction::Alloca:
1244 case Instruction::Load:
1252 case Instruction::Store:
1259 case Instruction::Call: {
1282 case Instruction::VAArg: