Home
last modified time | relevance | path

Searched refs:isCommutative (Results 1 – 25 of 25) sorted by relevance

/external/llvm/lib/IR/
DInlineAsm.cpp62 MatchingInput(-1), isCommutative(false), in ConstraintInfo()
86 isCommutative = false; in Parse()
121 isCommutative) // Reject %%%%% in Parse()
123 isCommutative = true; in Parse()
DInstruction.cpp485 bool Instruction::isCommutative(unsigned op) { in isCommutative() function in Instruction
DInstructions.cpp2003 if (!isCommutative()) in swapOperands()
3123 bool CmpInst::isCommutative() const { in isCommutative() function in CmpInst
3125 return IC->isCommutative(); in isCommutative()
3126 return cast<FCmpInst>(this)->isCommutative(); in isCommutative()
DConstantFold.cpp1048 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
1181 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
/external/llvm/include/llvm/IR/
DInstruction.h287 bool isCommutative() const { return isCommutative(getOpcode()); } in isCommutative() function
288 static bool isCommutative(unsigned op);
DInlineAsm.h142 bool isCommutative;
DInstrTypes.h777 bool isCommutative() const;
DInstructions.h1075 bool isCommutative() const { return isEquality(); }
1190 bool isCommutative() const {
/external/llvm/utils/TableGen/
DCodeGenIntrinsics.h72 bool isCommutative; member
DCodeGenTarget.cpp449 isCommutative = false; in CodeGenIntrinsic()
576 isCommutative = true; in CodeGenIntrinsic()
DCodeGenDAGPatterns.cpp1528 return Int->isCommutative; in isCommutativeIntrinsic()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DLiteralOpUpgrader.java122 } else if (opcode.isCommutative() in run()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRop.java370 public boolean isCommutative() { in isCommutative() method in Rop
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp94 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue()
153 if (!LHSBinOp->isCommutative()) in isEqual()
DTailRecursionElimination.cpp542 if (!I->isAssociative() || !I->isCommutative()) return nullptr; in CanTransformAccumulatorRecursion()
DLoopRerollPass.cpp976 if (!Swapped && J1->isCommutative() && !SomeOpMatched && in reroll()
DReassociate.cpp503 Instruction::isCommutative(Opcode) && in LinearizeExprTree()
DGVN.cpp171 if (I->isCommutative()) { in create_expression()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp211 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative()
269 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
391 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft()
453 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization()
569 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws()
594 (Instruction::isCommutative(InnerOpcode) && L == C && R == B)) in SimplifyUsingDistributiveLaws()
DInstCombineSelect.cpp191 } else if (!TI->isCommutative()) { in FoldSelectOpOp()
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopTranslator.java471 if (insn.getOpcode().isCommutative() in getRegs()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp146 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp()
169 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp()
238 if (!Instruction::isCommutative(Opcode)) in SimplifyAssociativeBinOp()
344 if (Simplified->isCommutative() && in ThreadBinOpOverSelect()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp968 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) { in buildTree_rec()
1764 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) in vectorizeTree()
DLoopVectorize.cpp4865 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
5028 bool FastMath = (FP && I->isCommutative() && I->isAssociative()); in isReductionInstr()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp385 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) { in SelectBinaryOp()