Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DInlineAsm.cpp62 MatchingInput(-1), isCommutative(false), in ConstraintInfo()
70 MatchingInput(other.MatchingInput), isCommutative(other.isCommutative), in ConstraintInfo()
96 isCommutative = false; in Parse()
131 isCommutative) // Reject %%%%% in Parse()
133 isCommutative = true; in Parse()
DInstruction.cpp502 bool Instruction::isCommutative(unsigned op) { in isCommutative() function in Instruction
DInstructions.cpp1991 if (!isCommutative()) in swapOperands()
2922 bool CmpInst::isCommutative() const { in isCommutative() function in CmpInst
2924 return IC->isCommutative(); in isCommutative()
2925 return cast<FCmpInst>(this)->isCommutative(); in isCommutative()
DConstantFold.cpp1033 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
1166 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
/external/llvm/include/llvm/IR/
DInstruction.h269 bool isCommutative() const { return isCommutative(getOpcode()); } in isCommutative() function
270 static bool isCommutative(unsigned op);
DInlineAsm.h142 bool isCommutative;
DInstrTypes.h766 bool isCommutative() const;
DInstructions.h1017 bool isCommutative() const { return isEquality(); }
1132 bool isCommutative() const {
/external/llvm/utils/TableGen/
DCodeGenIntrinsics.h71 bool isCommutative; member
DCodeGenTarget.cpp423 isCommutative = false; in CodeGenIntrinsic()
547 isCommutative = true; in CodeGenIntrinsic()
DCodeGenDAGPatterns.cpp1453 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.cpp98 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue()
157 if (!LHSBinOp->isCommutative()) in isEqual()
DTailRecursionElimination.cpp347 if (!I->isAssociative() || !I->isCommutative()) return 0; in CanTransformAccumulatorRecursion()
DReassociate.cpp424 Instruction::isCommutative(Opcode) && in LinearizeExprTree()
DGVN.cpp167 if (I->isCommutative()) { in create_expression()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp209 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative()
267 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
383 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft()
411 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in SimplifyUsingDistributiveLaws()
472 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws()
497 (Instruction::isCommutative(InnerOpcode) && L == C && R == B)) in SimplifyUsingDistributiveLaws()
DInstCombineSelect.cpp166 } else if (!TI->isCommutative()) { in FoldSelectOpOp()
/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()
211 if (A == C || (Instruction::isCommutative(OpcodeToExtract) && A == D)) { in FactorizeBinOp()
234 if (B == D || (Instruction::isCommutative(OpcodeToExtract) && B == C)) { in FactorizeBinOp()
310 if (!Instruction::isCommutative(Opcode)) in SimplifyAssociativeBinOp()
416 if (Simplified->isCommutative() && in ThreadBinOpOverSelect()
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopTranslator.java471 if (insn.getOpcode().isCommutative() in getRegs()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2792 if (!U->isCommutative() && !isa<PHINode>(U) && U->getOperand(0) != Iter) in AddReductionVar()
2823 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()