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

12

/external/llvm/lib/IR/
H A DInlineAsm.cpp61 MatchingInput(-1), isCommutative(false),
85 isCommutative = false;
124 isCommutative) // Reject %%%%%
126 isCommutative = true;
H A DInstruction.cpp512 /// isCommutative - Return true if the instruction is commutative:
519 bool Instruction::isCommutative(unsigned op) { function in class:Instruction
H A DInstructions.cpp2167 if (!isCommutative())
3347 bool CmpInst::isCommutative() const {
3349 return IC->isCommutative();
3350 return cast<FCmpInst>(this)->isCommutative();
H A DConstantFold.cpp1101 if (Instruction::isCommutative(Opcode))
1225 if (Instruction::isCommutative(Opcode))
/external/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h72 /// isCommutative - True if the intrinsic is commutative.
73 bool isCommutative; member in struct:llvm::CodeGenIntrinsic
H A DCodeGenTarget.cpp453 isCommutative = false;
583 isCommutative = true;
H A DCodeGenDAGPatterns.cpp1666 return Int->isCommutative;
/external/llvm/include/llvm/IR/
H A DInstruction.h321 /// isCommutative - Return true if the instruction is commutative:
328 bool isCommutative() const { return isCommutative(getOpcode()); } function in class:llvm::Instruction
329 static bool isCommutative(unsigned op);
H A DInlineAsm.h137 /// isCommutative - This is set to true for a constraint that is commutative
139 bool isCommutative; member in struct:llvm::InlineAsm::ConstraintInfo
H A DInstrTypes.h1018 bool isCommutative() const;
H A DInstructions.h1204 bool isCommutative() const { return isEquality(); } function in class:llvm::ICmpInst
1325 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.cpp97 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1))
160 if (!LHSBinOp->isCommutative())
H A DReassociate.cpp304 assert(I->isCommutative() && "Expected commutative operator.");
539 assert(I->isAssociative() && I->isCommutative() &&
1991 if (!User->isCommutative() && User->getOperand(1) != I)
2001 if (User->getOperand(0) == I && User->isCommutative())
2056 if (I->isCommutative())
H A DTailRecursionElimination.cpp544 if (!I->isAssociative() || !I->isCommutative()) return nullptr;
H A DLoopRerollPass.cpp1218 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched &&
H A DGVN.cpp177 if (I->isCommutative()) {
/external/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1290 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) {
1918 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) {
1921 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) {
1932 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) {
1935 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) {
2039 assert(I->isCommutative() && "Can only process commutative instruction");
2333 if (isa<BinaryOperator>(VL0) && VL0->isCommutative())
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DRopTranslator.java471 if (insn.getOpcode().isCommutative()
/external/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp248 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) &&
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp197 if (I.isCommutative() && getComplexity(I.getOperand(0)) <
255 if (I.isAssociative() && I.isCommutative()) {
377 if (Instruction::isCommutative(ROp))
470 bool InnerCommutative = Instruction::isCommutative(InnerOpcode);
598 (Instruction::isCommutative(InnerOpcode) && L == B && R == A))
623 (Instruction::isCommutative(InnerOpcode) && L == C && R == B))
H A DInstCombineSelect.cpp164 } else if (!TI->isCommutative()) {
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp157 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand)
180 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand)
249 if (!Instruction::isCommutative(Opcode))
355 if (Simplified->isCommutative() &&
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp405 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) {

Completed in 402 milliseconds

12