/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | InlineAsm.cpp | 61 MatchingInput(-1), isCommutative(false), 85 isCommutative = false; 124 isCommutative) // Reject %%%%% 126 isCommutative = true;
|
H A D | Instruction.cpp | 511 /// isCommutative - Return true if the instruction is commutative: 518 bool Instruction::isCommutative(unsigned op) { function in class:Instruction
|
H A D | Instructions.cpp | 2164 if (!isCommutative()) 3344 bool CmpInst::isCommutative() const { 3346 return IC->isCommutative(); 3347 return cast<FCmpInst>(this)->isCommutative();
|
H A D | ConstantFold.cpp | 1101 if (Instruction::isCommutative(Opcode)) 1225 if (Instruction::isCommutative(Opcode))
|
/freebsd-11.0-release/contrib/llvm/utils/TableGen/ |
H A D | CodeGenIntrinsics.h | 72 /// isCommutative - True if the intrinsic is commutative. 73 bool isCommutative; member in struct:llvm::CodeGenIntrinsic
|
H A D | CodeGenTarget.cpp | 453 isCommutative = false; 583 isCommutative = true;
|
H A D | CodeGenDAGPatterns.cpp | 1666 return Int->isCommutative;
|
/freebsd-11.0-release/contrib/llvm/include/llvm/IR/ |
H A D | Instruction.h | 321 /// 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 D | InlineAsm.h | 137 /// isCommutative - This is set to true for a constraint that is commutative 139 bool isCommutative; member in struct:llvm::InlineAsm::ConstraintInfo
|
H A D | InstrTypes.h | 1018 bool isCommutative() const;
|
H A D | Instructions.h | 1204 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 D | EarlyCSE.cpp | 97 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) 160 if (!LHSBinOp->isCommutative())
|
H A D | Reassociate.cpp | 306 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 D | TailRecursionElimination.cpp | 539 if (!I->isAssociative() || !I->isCommutative()) return nullptr;
|
H A D | LoopRerollPass.cpp | 1218 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched &&
|
H A D | GVN.cpp | 177 if (I->isCommutative()) {
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 1290 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 D | LoopUtils.cpp | 248 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) &&
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 197 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 D | InstCombineSelect.cpp | 164 } else if (!TI->isCommutative()) {
|
H A D | InstCombineCompares.cpp | 2219 if (OrigI.isCommutative() && isa<Constant>(LHS) && !isa<Constant>(RHS))
|
/freebsd-11.0-release/contrib/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 157 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 D | FastISel.cpp | 405 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) {
|