Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DInlineAsm.cpp61 MatchingInput(-1), isCommutative(false), in ConstraintInfo()
85 isCommutative = false; in Parse()
124 isCommutative) // Reject %%%%% in Parse()
126 isCommutative = true; in Parse()
DInstruction.cpp519 bool Instruction::isCommutative(unsigned op) { in isCommutative() function in Instruction
DInstructions.cpp2167 if (!isCommutative()) in swapOperands()
3347 bool CmpInst::isCommutative() const { in isCommutative() function in CmpInst
3349 return IC->isCommutative(); in isCommutative()
3350 return cast<FCmpInst>(this)->isCommutative(); in isCommutative()
DConstantFold.cpp1101 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
1225 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
/external/llvm/include/llvm/IR/
DInstruction.h328 bool isCommutative() const { return isCommutative(getOpcode()); }
329 static bool isCommutative(unsigned op);
DInlineAsm.h139 bool isCommutative; member
DInstrTypes.h1018 bool isCommutative() const;
DInstructions.h1204 bool isCommutative() const { return isEquality(); }
1325 bool isCommutative() const {
/external/llvm/utils/TableGen/
DCodeGenIntrinsics.h73 bool isCommutative; member
DCodeGenTarget.cpp453 isCommutative = false; in CodeGenIntrinsic()
583 isCommutative = true; in CodeGenIntrinsic()
DCodeGenDAGPatterns.cpp1666 return Int->isCommutative; in isCommutativeIntrinsic()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRop.java370 public boolean isCommutative() { in isCommutative() method in Rop
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DLiteralOpUpgrader.java122 } else if (opcode.isCommutative() in run()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp97 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue()
160 if (!LHSBinOp->isCommutative()) in isEqual()
DReassociate.cpp304 assert(I->isCommutative() && "Expected commutative operator."); in canonicalizeOperands()
539 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree()
1991 if (!User->isCommutative() && User->getOperand(1) != I) in canonicalizeNegConstExpr()
2001 if (User->getOperand(0) == I && User->isCommutative()) in canonicalizeNegConstExpr()
2056 if (I->isCommutative()) in OptimizeInst()
DTailRecursionElimination.cpp544 if (!I->isAssociative() || !I->isCommutative()) return nullptr; in CanTransformAccumulatorRecursion()
DLoopRerollPass.cpp1218 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
DGVN.cpp177 if (I->isCommutative()) { in create_expression()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp197 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative()
255 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
377 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft()
470 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization()
598 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws()
623 (Instruction::isCommutative(InnerOpcode) && L == C && R == B)) in SimplifyUsingDistributiveLaws()
DInstCombineSelect.cpp164 } else if (!TI->isCommutative()) { in FoldSelectOpOp()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1290 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) { in buildTree_rec()
1918 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) { in reorderAltShuffleOperands()
1921 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) { in reorderAltShuffleOperands()
1932 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) { in reorderAltShuffleOperands()
1935 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) { in reorderAltShuffleOperands()
2039 assert(I->isCommutative() && "Can only process commutative instruction"); in reorderInputsAccordingToOpcode()
2333 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) in vectorizeTree()
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopTranslator.java471 if (insn.getOpcode().isCommutative() in getRegs()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp248 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp157 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp()
180 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp()
249 if (!Instruction::isCommutative(Opcode)) in SimplifyAssociativeBinOp()
355 if (Simplified->isCommutative() && in ThreadBinOpOverSelect()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp405 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) { in selectBinaryOp()

12