Searched defs:InnerOpcode (Results 1 - 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp378 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' local
381 bool InnerCommutative = Instruction::isCommutative(InnerOpcode);
384 if (LeftDistributesOverRight(InnerOpcode, TopLevelOpcode))
399 V = Builder->CreateBinOp(InnerOpcode, A, V);
406 if (RightDistributesOverLeft(TopLevelOpcode, InnerOpcode))
421 V = Builder->CreateBinOp(InnerOpcode, V, B);
433 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' local
442 (Instruction::isCommutative(InnerOpcode) && L == B && R == A))
445 if (Value *V = SimplifyBinOp(InnerOpcode, L, R, TD))
448 C = Builder->CreateBinOp(InnerOpcode,
458 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp452 Instruction::BinaryOps InnerOpcode, Value *A,
466 bool InnerCommutative = Instruction::isCommutative(InnerOpcode);
469 if (LeftDistributesOverRight(InnerOpcode, TopLevelOpcode))
483 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V);
488 if (!SimplifiedInst && RightDistributesOverLeft(TopLevelOpcode, InnerOpcode))
503 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B);
536 InnerOpcode == Instruction::Mul)
585 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' local
594 (Instruction::isCommutative(InnerOpcode) && L == B && R == A))
597 if (Value *V = SimplifyBinOp(InnerOpcode,
450 tryFactorization(InstCombiner::BuilderTy *Builder, const DataLayout &DL, BinaryOperator &I, Instruction::BinaryOps InnerOpcode, Value *A, Value *B, Value *C, Value *D) argument
610 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' local
[all...]

Completed in 63 milliseconds