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

/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DInlineAsm.cpp61 MatchingInput(-1), isCommutative(false),
85 isCommutative = false;
124 isCommutative) // Reject %%%%%
126 isCommutative = true;
H A DInstruction.cpp511 /// isCommutative - Return true if the instruction is commutative:
518 bool Instruction::isCommutative(unsigned op) { function in class:Instruction
H A DInstructions.cpp2164 if (!isCommutative())
3344 bool CmpInst::isCommutative() const {
3346 return IC->isCommutative();
3347 return cast<FCmpInst>(this)->isCommutative();
H A DConstantFold.cpp1101 if (Instruction::isCommutative(Opcode))
1225 if (Instruction::isCommutative(Opcode))
/freebsd-11.0-release/contrib/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;
/freebsd-11.0-release/contrib/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
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp97 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1))
160 if (!LHSBinOp->isCommutative())
H A DReassociate.cpp306 assert(I->isCommutative() && "Expected commutative operator.");
541 assert(I->isAssociative() && I->isCommutative() &&
2009 if (!User->isCommutative() && User->getOperand(1) != I)
2019 if (User->getOperand(0) == I && User->isCommutative())
2074 if (I->isCommutative())
H A DTailRecursionElimination.cpp539 if (!I->isAssociative() || !I->isCommutative()) return nullptr;
H A DLoopRerollPass.cpp1218 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched &&
H A DGVN.cpp177 if (I->isCommutative()) {
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1290 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) {
1917 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) {
1920 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) {
1931 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) {
1934 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) {
2038 assert(I->isCommutative() && "Can only process commutative instruction");
2332 if (isa<BinaryOperator>(VL0) && VL0->isCommutative())
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp248 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) &&
/freebsd-11.0-release/contrib/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()) {
H A DInstCombineCompares.cpp2219 if (OrigI.isCommutative() && isa<Constant>(LHS) && !isa<Constant>(RHS))
/freebsd-11.0-release/contrib/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() &&
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp405 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) {

Completed in 264 milliseconds