Home
last modified time | relevance | path

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

/external/llvm/lib/VMCore/
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.cpp394 bool Instruction::isCommutative(unsigned op) { in isCommutative() function in Instruction
DInstructions.cpp1981 if (!isCommutative()) in swapOperands()
2906 bool CmpInst::isCommutative() const { in isCommutative() function in CmpInst
2908 return IC->isCommutative(); in isCommutative()
2909 return cast<FCmpInst>(this)->isCommutative(); in isCommutative()
DConstantFold.cpp1035 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
1168 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
/external/llvm/include/llvm/
DInstruction.h215 bool isCommutative() const { return isCommutative(getOpcode()); } in isCommutative() function
216 static bool isCommutative(unsigned op);
DInlineAsm.h142 bool isCommutative;
DInstrTypes.h768 bool isCommutative() const;
DInstructions.h1005 bool isCommutative() const { return isEquality(); }
1121 bool isCommutative() const {
/external/llvm/utils/TableGen/
DCodeGenIntrinsics.h71 bool isCommutative; member
DCodeGenTarget.cpp409 isCommutative = false; in CodeGenIntrinsic()
533 isCommutative = true; in CodeGenIntrinsic()
DCodeGenDAGPatterns.cpp1375 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/InstCombine/
DInstructionCombining.cpp188 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative()
246 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
362 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft()
390 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in SimplifyUsingDistributiveLaws()
451 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws()
476 (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/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp334 if (!I->isAssociative() || !I->isCommutative()) return 0; in CanTransformAccumulatorRecursion()
DReassociate.cpp456 Instruction::isCommutative(Opcode) && in LinearizeExprTree()
DGVN.cpp167 if (I->isCommutative()) { in create_expression()
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopTranslator.java471 if (insn.getOpcode().isCommutative() in getRegs()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp364 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) { in SelectBinaryOp()