| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| D | DebugLocEntry.h | 162 DbgValueLocEntry OtherOp = Other.ValueLocEntries[0]; in isEquivalent() local 163 return ThisOp.isLocation() && OtherOp.isLocation() && in isEquivalent() 164 ThisOp.getLoc().getReg() == OtherOp.getLoc().getReg(); in isEquivalent()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/ |
| D | RISCVGatherScatterLowering.cpp | 252 Value *OtherOp; in matchStridedRecurrence() local 256 OtherOp = BO->getOperand(1); in matchStridedRecurrence() 260 OtherOp = BO->getOperand(0); in matchStridedRecurrence() 266 if (!L->isLoopInvariant(OtherOp)) in matchStridedRecurrence() 270 Value *SplatOp = getSplatValue(OtherOp); in matchStridedRecurrence()
|
| D | RISCVISelLowering.cpp | 8319 static SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument 8353 TrueVal = OtherOp; in combineSelectAndUse() 8354 FalseVal = DAG.getNode(N->getOpcode(), SDLoc(N), VT, OtherOp, NonConstantVal); in combineSelectAndUse() 10059 SDValue OtherOp = TrueVal.getOperand(1 - OpToFold); in tryFoldSelectIntoOp() local 10062 std::swap(OtherOp, Zero); in tryFoldSelectIntoOp() 10063 SDValue NewSel = DAG.getSelect(DL, VT, N->getOperand(0), OtherOp, Zero); in tryFoldSelectIntoOp()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineNegator.cpp | 458 Value *NegatedOp, *OtherOp; in visitImpl() local 463 OtherOp = Ops[0]; in visitImpl() 466 OtherOp = Ops[1]; in visitImpl() 470 return Builder.CreateMul(NegatedOp, OtherOp, I->getName() + ".neg"); in visitImpl()
|
| D | InstCombineMulDivRem.cpp | 101 Value *Cond, *OtherOp; in foldMulSelectToNegate() local 106 m_Value(OtherOp)))) { in foldMulSelectToNegate() 108 Value *Neg = Builder.CreateNeg(OtherOp, "", false, HasAnyNoWrap); in foldMulSelectToNegate() 109 return Builder.CreateSelect(Cond, OtherOp, Neg); in foldMulSelectToNegate() 114 m_Value(OtherOp)))) { in foldMulSelectToNegate() 116 Value *Neg = Builder.CreateNeg(OtherOp, "", false, HasAnyNoWrap); in foldMulSelectToNegate() 117 return Builder.CreateSelect(Cond, Neg, OtherOp); in foldMulSelectToNegate() 124 m_Value(OtherOp)))) { in foldMulSelectToNegate() 127 return Builder.CreateSelect(Cond, OtherOp, Builder.CreateFNeg(OtherOp)); in foldMulSelectToNegate() 134 m_Value(OtherOp)))) { in foldMulSelectToNegate() [all …]
|
| D | InstructionCombining.cpp | 1856 Value *Y, *OtherOp; in foldVectorBinop() local 1861 !match(RHS, m_OneUse(m_BinOp(Opcode, m_Value(Y), m_Value(OtherOp))))) in foldVectorBinop() 1867 if (isSplatValue(OtherOp, SplatIndex)) { in foldVectorBinop() 1868 std::swap(Y, OtherOp); in foldVectorBinop() 1879 Instruction *R = BinaryOperator::Create(Opcode, NewSplat, OtherOp); in foldVectorBinop()
|
| D | InstCombineCalls.cpp | 1897 Value *OtherOp = II->getOperand(OtherOpArg); in visitCallInst() local 1900 VectorType *OtherOpTy = cast<VectorType>(OtherOp->getType()); in visitCallInst() 1907 Value *InverseOtherOp = Builder.CreateFNeg(OtherOp); in visitCallInst()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| D | SystemZTargetTransformInfo.cpp | 1140 if (Instruction *OtherOp = dyn_cast<Instruction>(UserI->getOperand(i))){ in getMemoryOpCost() local 1141 LoadInst *OtherLoad = dyn_cast<LoadInst>(OtherOp); in getMemoryOpCost() 1143 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) || in getMemoryOpCost() 1144 isa<ZExtInst>(OtherOp))) in getMemoryOpCost() 1145 OtherLoad = dyn_cast<LoadInst>(OtherOp->getOperand(0)); in getMemoryOpCost()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | SIOptimizeExecMasking.cpp | 519 MachineOperand *OtherOp = nullptr; in optimizeExecSequence() local 522 OtherOp = &Src1; in optimizeExecSequence() 527 OtherOp = &Src0; in optimizeExecSequence() 538 .addReg(OtherOp->getReg()); in optimizeExecSequence()
|
| D | AMDGPUPromoteAlloca.cpp | 651 Value *OtherOp = Inst->getOperand(OpIdx0); in binaryOpIsDerivedFromSameAlloca() local 652 if (Val == OtherOp) in binaryOpIsDerivedFromSameAlloca() 653 OtherOp = Inst->getOperand(OpIdx1); in binaryOpIsDerivedFromSameAlloca() 655 if (isa<ConstantPointerNull>(OtherOp)) in binaryOpIsDerivedFromSameAlloca() 658 Value *OtherObj = getUnderlyingObject(OtherOp); in binaryOpIsDerivedFromSameAlloca()
|
| D | SIFoldOperands.cpp | 412 MachineOperand &OtherOp = MI->getOperand(OtherIdx); in tryAddToFoldList() local 413 if (!OtherOp.isReg() || in tryAddToFoldList() 414 !TII->getRegisterInfo().isVGPR(*MRI, OtherOp.getReg())) in tryAddToFoldList()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/Lanai/ |
| D | LanaiISelLowering.cpp | 1348 bool &Invert, SDValue &OtherOp, in isConditionalZeroOrAllOnes() argument 1359 OtherOp = N2; in isConditionalZeroOrAllOnes() 1364 OtherOp = N1; in isConditionalZeroOrAllOnes() 1378 OtherOp = DAG.getConstant(1, dl, VT); in isConditionalZeroOrAllOnes() 1392 OtherOp = DAG.getConstant(0, dl, VT); in isConditionalZeroOrAllOnes() 1394 OtherOp = DAG.getAllOnesConstant(dl, VT); in isConditionalZeroOrAllOnes() 1417 static SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument 1430 SDValue TrueVal = OtherOp; in combineSelectAndUse() 1432 DAG.getNode(N->getOpcode(), SDLoc(N), VT, OtherOp, NonConstantVal); in combineSelectAndUse()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | SCCPSolver.cpp | 1561 Value *OtherOp = Constraint->OtherOp; in handleCallResult() local 1564 if (getValueState(OtherOp).isUnknown()) { in handleCallResult() 1565 addAdditionalUser(OtherOp, &CB); in handleCallResult() 1569 ValueLatticeElement CondVal = getValueState(OtherOp); in handleCallResult() 1595 addAdditionalUser(OtherOp, &CB); in handleCallResult() 1604 addAdditionalUser(OtherOp, &CB); in handleCallResult() 1609 addAdditionalUser(OtherOp, &CB); in handleCallResult()
|
| D | PredicateInfo.cpp | 807 Value *OtherOp; in getConstraint() local 810 OtherOp = Cmp->getOperand(1); in getConstraint() 813 OtherOp = Cmp->getOperand(0); in getConstraint() 823 return {{Pred, OtherOp}}; in getConstraint()
|
| D | SimplifyLibCalls.cpp | 2443 Value *OtherOp = nullptr; in optimizeSqrt() local 2459 OtherOp = Op1; in optimizeSqrt() 2476 if (OtherOp) { in optimizeSqrt() 2481 Value *SqrtCall = B.CreateCall(Sqrt, OtherOp, "sqrt"); in optimizeSqrt()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyISelDAGToDAG.cpp | 310 SDValue OtherOp = N.getOperand(i == 0 ? 1 : 0); in SelectAddrAddOperands() local 315 Addr = OtherOp; in SelectAddrAddOperands()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Scalar/ |
| D | Reassociate.h | 126 Value *OtherOp);
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| D | PredicateInfo.h | 77 Value *OtherOp; member
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Target/ |
| D | TargetSelectionDAG.td | 42 class SDTCisSameAs<int OpNum, int OtherOp> : SDTypeConstraint<OpNum> { 43 int OtherOperandNum = OtherOp; 48 class SDTCisVTSmallerThanOp<int OpNum, int OtherOp> : SDTypeConstraint<OpNum> { 49 int OtherOperandNum = OtherOp; 57 /// type as the element type of OtherOp, which is a vector type. 58 class SDTCisEltOfVec<int ThisOp, int OtherOp> 60 int OtherOpNum = OtherOp; 64 /// with length less that of OtherOp, which is a vector type. 65 class SDTCisSubVecOfVec<int ThisOp, int OtherOp> 67 int OtherOpNum = OtherOp; [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/XCore/ |
| D | XCoreISelLowering.cpp | 583 SDValue OtherOp; in isADDADDMUL() local 586 OtherOp = N1; in isADDADDMUL() 589 OtherOp = N0; in isADDADDMUL() 595 if (OtherOp.getOpcode() == ISD::MUL) { in isADDADDMUL() 597 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse()) in isADDADDMUL() 599 Mul0 = OtherOp.getOperand(0); in isADDADDMUL() 600 Mul1 = OtherOp.getOperand(1); in isADDADDMUL() 612 Addend1 = OtherOp; in isADDADDMUL() 622 Addend1 = OtherOp; in isADDADDMUL()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| D | Reassociate.cpp | 2109 Value *OtherOp) { in canonicalizeNegFPConstantsForOp() argument 2155 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I) in canonicalizeNegFPConstantsForOp() 2156 : Builder.CreateFSubFMF(OtherOp, Op, I); in canonicalizeNegFPConstantsForOp()
|
| D | LoopStrengthReduce.cpp | 3566 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx)); in CollectLoopInvariantFixupsAndFormulae() local 3567 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L)) in CollectLoopInvariantFixupsAndFormulae()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/X86/ |
| D | X86ISelDAGToDAG.cpp | 382 SDValue OtherOp = User->getOperand(0); in shouldAvoidImmediateInstFormsForSize() local 383 if (OtherOp.getNode() == N) in shouldAvoidImmediateInstFormsForSize() 384 OtherOp = User->getOperand(1); in shouldAvoidImmediateInstFormsForSize() 388 if (OtherOp->getOpcode() == ISD::CopyFromReg && in shouldAvoidImmediateInstFormsForSize() 390 OtherOp->getOperand(1).getNode()))) in shouldAvoidImmediateInstFormsForSize()
|
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | InstructionSimplify.cpp | 240 Value *OtherOp, Instruction::BinaryOps OpcodeToExpand, in expandBinOp() argument 247 simplifyBinOp(Opcode, B0, OtherOp, Q.getWithoutUndef(), MaxRecurse); in expandBinOp() 251 simplifyBinOp(Opcode, B1, OtherOp, Q.getWithoutUndef(), MaxRecurse); in expandBinOp()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/ARM/ |
| D | ARMISelLowering.cpp | 12354 SDValue &OtherOp, in isConditionalZeroOrAllOnes() argument 12364 OtherOp = N2; in isConditionalZeroOrAllOnes() 12369 OtherOp = N1; in isConditionalZeroOrAllOnes() 12389 OtherOp = DAG.getConstant(0, dl, VT); in isConditionalZeroOrAllOnes() 12392 OtherOp = DAG.getConstant(1, dl, VT); in isConditionalZeroOrAllOnes() 12394 OtherOp = DAG.getAllOnesConstant(dl, VT); in isConditionalZeroOrAllOnes() 12425 SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument 12438 SDValue TrueVal = OtherOp; in combineSelectAndUse() 12440 OtherOp, NonConstantVal); in combineSelectAndUse()
|