Lines Matching defs:Opcode
157 unsigned Opcode = I0->getOpcode();
160 if (!I || Opcode != I->getOpcode())
163 return Opcode;
755 unsigned Opcode = getSameOpcode(VL);
758 if (Opcode == Instruction::Load || Opcode == Instruction::Store) {
774 switch (Opcode) {
976 unsigned Opcode = VL0->getOpcode();
977 switch (Opcode) {
1032 if (Opcode == Instruction::FCmp || Opcode == Instruction::ICmp ||
1033 Opcode == Instruction::Select) {
1036 TTI->getCmpSelInstrCost(Opcode, ScalarTy, Builder.getInt1Ty());
1037 VecCost = TTI->getCmpSelInstrCost(Opcode, VecTy, MaskTy);
1055 TTI->getArithmeticInstrCost(Opcode, ScalarTy, Op1VK, Op2VK);
1056 VecCost = TTI->getArithmeticInstrCost(Opcode, VecTy, Op1VK, Op2VK);
1348 unsigned Opcode = VL0->getOpcode();
1349 assert(Opcode == getSameOpcode(E->Scalars) && "Invalid opcode");
1351 switch (Opcode) {
1442 if (Opcode == Instruction::FCmp)
2386 static Value *createBinOp(IRBuilder<> &Builder, unsigned Opcode, Value *L,
2388 if (Opcode == Instruction::FAdd)
2390 return Builder.CreateBinOp((Instruction::BinaryOps)Opcode, L, R, Name);