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

/freebsd-9.3-release/contrib/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h70 /// isCommutative - True if the intrinsic is commutative.
71 bool isCommutative; member in struct:llvm::CodeGenIntrinsic
H A DCodeGenTarget.cpp430 isCommutative = false;
554 isCommutative = true;
H A DCodeGenDAGPatterns.cpp1485 return Int->isCommutative;
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DInlineAsm.cpp62 MatchingInput(-1), isCommutative(false),
70 MatchingInput(other.MatchingInput), isCommutative(other.isCommutative),
96 isCommutative = false;
131 isCommutative) // Reject %%%%%
133 isCommutative = true;
H A DInstruction.cpp496 /// isCommutative - Return true if the instruction is commutative:
503 bool Instruction::isCommutative(unsigned op) { function in class:Instruction
H A DInstructions.cpp1991 if (!isCommutative())
3073 bool CmpInst::isCommutative() const { function in class:CmpInst
3075 return IC->isCommutative();
3076 return cast<FCmpInst>(this)->isCommutative();
H A DConstantFold.cpp1036 if (Instruction::isCommutative(Opcode))
1169 if (Instruction::isCommutative(Opcode))
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DInstruction.h262 /// isCommutative - Return true if the instruction is commutative:
269 bool isCommutative() const { return isCommutative(getOpcode()); } function in class:llvm::Instruction
270 static bool isCommutative(unsigned op);
H A DInlineAsm.h140 /// isCommutative - This is set to true for a constraint that is commutative
142 bool isCommutative; member in struct:llvm::InlineAsm::ConstraintInfo
H A DInstrTypes.h772 bool isCommutative() const;
H A DInstructions.h1009 bool isCommutative() const { return isEquality(); } function in class:llvm::ICmpInst
1124 bool isCommutative() const { function in class:llvm::FCmpInst
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp93 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1))
152 if (!LHSBinOp->isCommutative())
H A DTailRecursionElimination.cpp370 if (!I->isAssociative() || !I->isCommutative()) return 0;
H A DLoopRerollPass.cpp981 if (!Swapped && J1->isCommutative() && !SomeOpMatched &&
H A DReassociate.cpp503 Instruction::isCommutative(Opcode) &&
H A DGVN.cpp170 if (I->isCommutative()) {
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp209 if (I.isCommutative() && getComplexity(I.getOperand(0)) <
267 if (I.isAssociative() && I.isCommutative()) {
383 if (Instruction::isCommutative(ROp))
411 bool InnerCommutative = Instruction::isCommutative(InnerOpcode);
472 (Instruction::isCommutative(InnerOpcode) && L == B && R == A))
497 (Instruction::isCommutative(InnerOpcode) && L == C && R == B))
H A DInstCombineSelect.cpp167 } else if (!TI->isCommutative()) {
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DInstructionSimplify.cpp146 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand)
169 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand)
211 if (A == C || (Instruction::isCommutative(OpcodeToExtract) && A == D)) {
234 if (B == D || (Instruction::isCommutative(OpcodeToExtract) && B == C)) {
310 if (!Instruction::isCommutative(Opcode))
416 if (Simplified->isCommutative() &&
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp910 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) {
1490 if (isa<BinaryOperator>(VL0) && VL0->isCommutative())
H A DLoopVectorize.cpp4136 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) &&
4300 bool FastMath = (FP && I->isCommutative() && I->isAssociative());
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp381 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) {

Completed in 313 milliseconds