Lines Matching full:instruction
20 #include "llvm/IR/Instruction.h"
133 /// Add a new instruction.
334 Instruction* Term = BB->getTerminator();
336 Instruction::BinaryOps Op;
340 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; }
341 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; }
342 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; }
343 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; }
344 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; }
345 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; }
346 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; }
347 case 7: {Op = Instruction::Shl; break; }
348 case 8: {Op = Instruction::LShr; break; }
349 case 9: {Op = Instruction::AShr; break; }
350 case 10:{Op = Instruction::And; break; }
351 case 11:{Op = Instruction::Or; break; }
352 case 12:{Op = Instruction::Xor; break; }
604 Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp,
658 std::vector<Instruction*> BoolInst;
667 for (std::vector<Instruction*>::iterator it = BoolInst.begin(),
669 Instruction *Instr = *it;