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

12

/external/llvm/lib/IR/
H A DInlineAsm.cpp62 MatchingInput(-1), isCommutative(false),
86 isCommutative = false;
125 isCommutative) // Reject %%%%%
127 isCommutative = true;
H A DInstruction.cpp487 /// isCommutative - Return true if the instruction is commutative:
494 bool Instruction::isCommutative(unsigned op) { function in class:Instruction
H A DInstructions.cpp1898 if (!isCommutative())
3076 bool CmpInst::isCommutative() const { function in class:CmpInst
3078 return IC->isCommutative();
3079 return cast<FCmpInst>(this)->isCommutative();
H A DConstantFold.cpp1095 if (Instruction::isCommutative(Opcode))
1219 if (Instruction::isCommutative(Opcode))
/external/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h71 /// isCommutative - True if the intrinsic is commutative.
72 bool isCommutative; member in struct:llvm::CodeGenIntrinsic
H A DCodeGenTarget.cpp442 isCommutative = false;
571 isCommutative = true;
H A DCodeGenDAGPatterns.cpp1621 return Int->isCommutative;
/external/llvm/include/llvm/IR/
H A DInstruction.h319 /// isCommutative - Return true if the instruction is commutative:
326 bool isCommutative() const { return isCommutative(getOpcode()); } function in class:llvm::Instruction
327 static bool isCommutative(unsigned op);
H A DInlineAsm.h136 /// isCommutative - This is set to true for a constraint that is commutative
138 bool isCommutative; member in struct:llvm::InlineAsm::ConstraintInfo
H A DInstrTypes.h814 bool isCommutative() const;
H A DInstructions.h1119 bool isCommutative() const { return isEquality(); } function in class:llvm::ICmpInst
1238 bool isCommutative() const { function in class:llvm::FCmpInst
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRop.java370 public boolean isCommutative() { method in class:Rop
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DLiteralOpUpgrader.java122 } else if (opcode.isCommutative()
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp96 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1))
159 if (!LHSBinOp->isCommutative())
H A DReassociate.cpp336 assert(I->isCommutative() && "Expected commutative operator.");
572 assert(I->isAssociative() && I->isCommutative() &&
2012 if (!User->isCommutative() && User->getOperand(1) != I)
2027 if (User->getOperand(0) == I && User->isCommutative())
2088 if (I->isCommutative())
H A DTailRecursionElimination.cpp537 if (!I->isAssociative() || !I->isCommutative()) return nullptr;
H A DLoopRerollPass.cpp1213 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched &&
H A DGVN.cpp175 if (I->isCommutative()) {
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DRopTranslator.java471 if (insn.getOpcode().isCommutative()
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp188 if (I.isCommutative() && getComplexity(I.getOperand(0)) <
246 if (I.isAssociative() && I.isCommutative()) {
368 if (Instruction::isCommutative(ROp))
460 bool InnerCommutative = Instruction::isCommutative(InnerOpcode);
576 (Instruction::isCommutative(InnerOpcode) && L == B && R == A))
601 (Instruction::isCommutative(InnerOpcode) && L == C && R == B))
H A DInstCombineSelect.cpp191 } else if (!TI->isCommutative()) {
H A DInstCombineCompares.cpp2115 assert((!OrigI.isCommutative() ||
/external/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1236 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) {
1861 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) {
1864 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) {
1875 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) {
1878 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) {
2257 if (isa<BinaryOperator>(VL0) && VL0->isCommutative())
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp156 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand)
179 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand)
248 if (!Instruction::isCommutative(Opcode))
354 if (Simplified->isCommutative() &&
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp404 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) {

Completed in 460 milliseconds

12