/external/llvm/lib/IR/ |
D | InlineAsm.cpp | 61 MatchingInput(-1), isCommutative(false), in ConstraintInfo() 85 isCommutative = false; in Parse() 124 isCommutative) // Reject %%%%% in Parse() 126 isCommutative = true; in Parse()
|
D | Instruction.cpp | 519 bool Instruction::isCommutative(unsigned op) { in isCommutative() function in Instruction
|
D | Instructions.cpp | 2167 if (!isCommutative()) in swapOperands() 3347 bool CmpInst::isCommutative() const { in isCommutative() function in CmpInst 3349 return IC->isCommutative(); in isCommutative() 3350 return cast<FCmpInst>(this)->isCommutative(); in isCommutative()
|
D | ConstantFold.cpp | 1101 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction() 1225 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.h | 328 bool isCommutative() const { return isCommutative(getOpcode()); } 329 static bool isCommutative(unsigned op);
|
D | InlineAsm.h | 139 bool isCommutative; member
|
D | InstrTypes.h | 1018 bool isCommutative() const;
|
D | Instructions.h | 1204 bool isCommutative() const { return isEquality(); } 1325 bool isCommutative() const {
|
/external/llvm/utils/TableGen/ |
D | CodeGenIntrinsics.h | 73 bool isCommutative; member
|
D | CodeGenTarget.cpp | 453 isCommutative = false; in CodeGenIntrinsic() 583 isCommutative = true; in CodeGenIntrinsic()
|
D | CodeGenDAGPatterns.cpp | 1666 return Int->isCommutative; in isCommutativeIntrinsic()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
D | Rop.java | 370 public boolean isCommutative() { in isCommutative() method in Rop
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
D | LiteralOpUpgrader.java | 122 } else if (opcode.isCommutative() in run()
|
/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 97 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue() 160 if (!LHSBinOp->isCommutative()) in isEqual()
|
D | Reassociate.cpp | 304 assert(I->isCommutative() && "Expected commutative operator."); in canonicalizeOperands() 539 assert(I->isAssociative() && I->isCommutative() && in LinearizeExprTree() 1991 if (!User->isCommutative() && User->getOperand(1) != I) in canonicalizeNegConstExpr() 2001 if (User->getOperand(0) == I && User->isCommutative()) in canonicalizeNegConstExpr() 2056 if (I->isCommutative()) in OptimizeInst()
|
D | TailRecursionElimination.cpp | 544 if (!I->isAssociative() || !I->isCommutative()) return nullptr; in CanTransformAccumulatorRecursion()
|
D | LoopRerollPass.cpp | 1218 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
|
D | GVN.cpp | 177 if (I->isCommutative()) { in create_expression()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 197 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative() 255 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative() 377 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft() 470 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 598 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws() 623 (Instruction::isCommutative(InnerOpcode) && L == C && R == B)) in SimplifyUsingDistributiveLaws()
|
D | InstCombineSelect.cpp | 164 } else if (!TI->isCommutative()) { in FoldSelectOpOp()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 1290 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) { in buildTree_rec() 1918 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) { in reorderAltShuffleOperands() 1921 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) { in reorderAltShuffleOperands() 1932 if (isConsecutiveAccess(L, L1, DL) && VL1->isCommutative()) { in reorderAltShuffleOperands() 1935 } else if (isConsecutiveAccess(L, L1, DL) && VL2->isCommutative()) { in reorderAltShuffleOperands() 2039 assert(I->isCommutative() && "Can only process commutative instruction"); in reorderInputsAccordingToOpcode() 2333 if (isa<BinaryOperator>(VL0) && VL0->isCommutative()) in vectorizeTree()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
D | RopTranslator.java | 471 if (insn.getOpcode().isCommutative() in getRegs()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 248 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 157 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp() 180 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp() 249 if (!Instruction::isCommutative(Opcode)) in SimplifyAssociativeBinOp() 355 if (Simplified->isCommutative() && in ThreadBinOpOverSelect()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 405 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) { in selectBinaryOp()
|