Home
last modified time | relevance | path

Searched refs:isCommutative (Results 1 – 25 of 70) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/VMCore/
DInlineAsm.cpp61 MatchingInput(-1), isCommutative(false), in ConstraintInfo()
69 MatchingInput(other.MatchingInput), isCommutative(other.isCommutative), in ConstraintInfo()
95 isCommutative = false; in Parse()
130 isCommutative) // Reject %%%%% in Parse()
132 isCommutative = true; in Parse()
DInstruction.cpp379 bool Instruction::isCommutative(unsigned op) { in isCommutative() function in Instruction
/external/llvm/lib/IR/
DInlineAsm.cpp61 MatchingInput(-1), isCommutative(false), in ConstraintInfo()
85 isCommutative = false; in Parse()
124 isCommutative) // Reject %%%%% in Parse()
126 isCommutative = true; in Parse()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstruction.h215 bool isCommutative() const { return isCommutative(getOpcode()); } in isCommutative() function
216 static bool isCommutative(unsigned op);
DInlineAsm.h131 bool isCommutative;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInlineAsm.cpp80 isCommutative = false; in Parse()
119 isCommutative) // Reject %%%%% in Parse()
121 isCommutative = true; in Parse()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h385 bool isCommutative() const { return isCommutative(getOpcode()); } in isCommutative() function
386 static bool isCommutative(unsigned op);
/external/llvm/include/llvm/IR/
DInstruction.h360 bool isCommutative() const { return isCommutative(getOpcode()); }
361 static bool isCommutative(unsigned op);
DInlineAsm.h139 bool isCommutative; member
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstruction.h457 bool isCommutative() const { return isCommutative(getOpcode()); }
458 static bool isCommutative(unsigned Opcode) {
DInlineAsm.h139 bool isCommutative = false; member
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenIntrinsics.h71 bool isCommutative; member
DCodeGenTarget.cpp365 isCommutative = false; in CodeGenIntrinsic()
488 isCommutative = true; in CodeGenIntrinsic()
/external/llvm/utils/TableGen/
DCodeGenIntrinsics.h97 bool isCommutative; member
DCodeGenTarget.cpp453 isCommutative = false; in CodeGenIntrinsic()
583 isCommutative = true; in CodeGenIntrinsic()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenIntrinsics.h116 bool isCommutative; member
DCodeGenTarget.cpp536 isCommutative = false; in CodeGenIntrinsic()
676 isCommutative = true; in CodeGenIntrinsic()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp179 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative()
237 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
353 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft()
381 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in SimplifyUsingDistributiveLaws()
442 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws()
467 (Instruction::isCommutative(InnerOpcode) && L == C && R == B)) in SimplifyUsingDistributiveLaws()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp265 if (UserI->isBinaryOp() && UserI->isCommutative() && Idx != 1) in isSafeAndProfitableToSpeculateAroundPHI()
677 if (NewI->isBinaryOp() && NewI->isCommutative() && in speculatePHIs()
DReassociate.cpp222 assert(I->isCommutative() && "Expected commutative operator."); in canonicalizeOperands()
452 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree()
1966 if (!User->isCommutative() && User->getOperand(1) != I) in canonicalizeNegConstExpr()
1982 if (User->getOperand(0) == I && User->isCommutative()) in canonicalizeNegConstExpr()
2037 if (I->isCommutative()) in OptimizeInst()
DEarlyCSE.cpp133 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue()
205 if (!LHSBinOp->isCommutative()) in isEqual()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp203 assert(I->isCommutative() && "Expected commutative operator."); in canonicalizeOperands()
438 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree()
1925 if (!User->isCommutative() && User->getOperand(1) != I) in canonicalizeNegConstExpr()
1935 if (User->getOperand(0) == I && User->isCommutative()) in canonicalizeNegConstExpr()
1990 if (I->isCommutative()) in OptimizeInst()
DEarlyCSE.cpp98 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue()
152 if (!LHSBinOp->isCommutative()) in isEqual()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp114 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp()
138 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp()
181 if (A == C || (Instruction::isCommutative(OpcodeToExtract) && A == D)) { in FactorizeBinOp()
204 if (B == D || (Instruction::isCommutative(OpcodeToExtract) && B == C)) { in FactorizeBinOp()
282 if (!Instruction::isCommutative(Opcode)) in SimplifyAssociativeBinOp()
390 if (Simplified->isCommutative() && in ThreadBinOpOverSelect()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp193 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative()
251 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()
373 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft()
466 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization()
594 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws()
619 (Instruction::isCommutative(InnerOpcode) && L == C && R == B)) in SimplifyUsingDistributiveLaws()

123