/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVGatherScatterLowering.cpp | 265 Value *OtherOp; in matchStridedRecurrence() local 269 OtherOp = BO->getOperand(1); in matchStridedRecurrence() 274 OtherOp = BO->getOperand(0); in matchStridedRecurrence() 280 if (!L->isLoopInvariant(OtherOp)) in matchStridedRecurrence() 284 Value *SplatOp = getSplatValue(OtherOp); in matchStridedRecurrence()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineNegator.cpp | 474 Value *NegatedOp, *OtherOp; in visitImpl() local 479 OtherOp = Ops[0]; in visitImpl() 482 OtherOp = Ops[1]; in visitImpl() 486 return Builder.CreateMul(NegatedOp, OtherOp, I->getName() + ".neg", in visitImpl()
|
H A D | InstCombineMulDivRem.cpp | 101 Value *Cond, *OtherOp; in foldMulSelectToNegate() local 106 m_Value(OtherOp)))) { in foldMulSelectToNegate() 108 Value *Neg = Builder.CreateNeg(OtherOp, "", HasAnyNoWrap); in foldMulSelectToNegate() 109 return Builder.CreateSelect(Cond, OtherOp, Neg); in foldMulSelectToNegate() 114 m_Value(OtherOp)))) { in foldMulSelectToNegate() 116 Value *Neg = Builder.CreateNeg(OtherOp, "", 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 …]
|
H A D | InstCombineSimplifyDemanded.cpp | 1901 Value *OtherOp = MatchShufAsOp0 ? Y : X; in SimplifyDemandedVectorElts() local 1902 for (User *U : OtherOp->users()) { in SimplifyDemandedVectorElts() 1906 ? match(U, m_c_BinOp(Opcode, Shuf, m_Specific(OtherOp))) in SimplifyDemandedVectorElts() 1908 ? match(U, m_BinOp(Opcode, Shuf, m_Specific(OtherOp))) in SimplifyDemandedVectorElts() 1909 : match(U, m_BinOp(Opcode, m_Specific(OtherOp), Shuf))) in SimplifyDemandedVectorElts()
|
H A D | InstructionCombining.cpp | 639 Value *&LHS, Value *&RHS, BinaryOperator *OtherOp) { in getBinOpsForFactorization() argument 655 if (OtherOp && OtherOp->getOpcode() == Instruction::AShr && in getBinOpsForFactorization() 2217 Value *Y, *OtherOp; in foldVectorBinop() local 2222 !match(RHS, m_OneUse(m_BinOp(Opcode, m_Value(Y), m_Value(OtherOp))))) in foldVectorBinop() 2228 if (isSplatValue(OtherOp, SplatIndex)) { in foldVectorBinop() 2229 std::swap(Y, OtherOp); in foldVectorBinop() 2240 Instruction *R = BinaryOperator::Create(Opcode, NewSplat, OtherOp); in foldVectorBinop()
|
H A D | InstCombineCalls.cpp | 2444 Value *OtherOp = II->getOperand(OtherOpArg); in visitCallInst() local 2447 VectorType *OtherOpTy = cast<VectorType>(OtherOp->getType()); in visitCallInst() 2454 Value *InverseOtherOp = Builder.CreateFNeg(OtherOp); in visitCallInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 1183 if (Instruction *OtherOp = dyn_cast<Instruction>(UserI->getOperand(i))){ in getMemoryOpCost() local 1184 LoadInst *OtherLoad = dyn_cast<LoadInst>(OtherOp); in getMemoryOpCost() 1186 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) || in getMemoryOpCost() 1187 isa<ZExtInst>(OtherOp))) in getMemoryOpCost() 1188 OtherLoad = dyn_cast<LoadInst>(OtherOp->getOperand(0)); in getMemoryOpCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIOptimizeExecMasking.cpp | 539 MachineOperand *OtherOp = nullptr; in optimizeExecSequence() local 542 OtherOp = &Src1; in optimizeExecSequence() 547 OtherOp = &Src0; in optimizeExecSequence() 558 .addReg(OtherOp->getReg()); in optimizeExecSequence()
|
H A D | AMDGPUPromoteAlloca.cpp | 1121 Value *OtherOp = Inst->getOperand(OpIdx0); in binaryOpIsDerivedFromSameAlloca() local 1122 if (Val == OtherOp) in binaryOpIsDerivedFromSameAlloca() 1123 OtherOp = Inst->getOperand(OpIdx1); in binaryOpIsDerivedFromSameAlloca() 1125 if (isa<ConstantPointerNull>(OtherOp)) in binaryOpIsDerivedFromSameAlloca() 1128 Value *OtherObj = getUnderlyingObject(OtherOp); in binaryOpIsDerivedFromSameAlloca()
|
H A D | SIFoldOperands.cpp | 588 MachineOperand &OtherOp = MI->getOperand(OpNo); in tryAddToFoldList() local 589 if (!OtherOp.isReg() || in tryAddToFoldList() 590 !TII->getRegisterInfo().isVGPR(*MRI, OtherOp.getReg())) in tryAddToFoldList()
|
H A D | AMDGPULibCalls.cpp | 1427 auto *OtherOp = cast<FPMathOperator>(XI); in fold_sincos() local 1428 FMF &= OtherOp->getFastMathFlags(); in fold_sincos()
|
H A D | SIISelLowering.cpp | 12107 SDValue &OtherOp) { in hasNon16BitAccesses() argument 12112 auto TempOtherOp = peekThroughBitcasts(OtherOp); in hasNon16BitAccesses() 12248 SDValue OtherOp = SecondSrc ? *PermNodes[SecondSrc->first].Src : Op; in matchPERM() local 12251 OtherOp = getDWordFromOffset(DAG, DL, OtherOp, SecondSrc->second); in matchPERM() 12252 assert(OtherOp.getValueSizeInBits() == 32); in matchPERM() 12255 if (hasNon16BitAccesses(PermMask, Op, OtherOp)) { in matchPERM() 12258 OtherOp.getValueType().isByteSized()); in matchPERM() 12266 OtherOp = DAG.getBitcastedAnyExtOrTrunc(OtherOp, DL, MVT::i32); in matchPERM() 12268 return DAG.getNode(AMDGPUISD::PERM, DL, MVT::i32, Op, OtherOp, in matchPERM()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.cpp | 1349 bool &Invert, SDValue &OtherOp, in isConditionalZeroOrAllOnes() argument 1360 OtherOp = N2; in isConditionalZeroOrAllOnes() 1365 OtherOp = N1; in isConditionalZeroOrAllOnes() 1379 OtherOp = DAG.getConstant(1, dl, VT); in isConditionalZeroOrAllOnes() 1393 OtherOp = DAG.getConstant(0, dl, VT); in isConditionalZeroOrAllOnes() 1395 OtherOp = DAG.getAllOnesConstant(dl, VT); in isConditionalZeroOrAllOnes() 1418 static SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument 1431 SDValue TrueVal = OtherOp; in combineSelectAndUse() 1433 DAG.getNode(N->getOpcode(), SDLoc(N), VT, OtherOp, NonConstantVal); in combineSelectAndUse()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | PredicateInfo.cpp | 798 Value *OtherOp; in getConstraint() local 801 OtherOp = Cmp->getOperand(1); in getConstraint() 804 OtherOp = Cmp->getOperand(0); in getConstraint() 814 return {{Pred, OtherOp}}; in getConstraint()
|
H A D | SCCPSolver.cpp | 1790 Value *OtherOp = Constraint->OtherOp; in handleCallResult() local 1793 if (getValueState(OtherOp).isUnknown()) { in handleCallResult() 1794 addAdditionalUser(OtherOp, &CB); in handleCallResult() 1798 ValueLatticeElement CondVal = getValueState(OtherOp); in handleCallResult() 1828 addAdditionalUser(OtherOp, &CB); in handleCallResult() 1837 addAdditionalUser(OtherOp, &CB); in handleCallResult() 1842 addAdditionalUser(OtherOp, &CB); in handleCallResult()
|
H A D | SimplifyLibCalls.cpp | 2725 Value *OtherOp = nullptr; in optimizeSqrt() local 2741 OtherOp = Op1; in optimizeSqrt() 2757 if (OtherOp) { in optimizeSqrt() 2762 B.CreateUnaryIntrinsic(Intrinsic::sqrt, OtherOp, nullptr, "sqrt"); in optimizeSqrt()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelDAGToDAG.cpp | 347 SDValue OtherOp = N.getOperand(i == 0 ? 1 : 0); in SelectAddrAddOperands() local 352 Addr = OtherOp; in SelectAddrAddOperands()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | Reassociate.h | 141 Value *OtherOp);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 578 SDValue OtherOp; in isADDADDMUL() local 581 OtherOp = N1; in isADDADDMUL() 584 OtherOp = N0; in isADDADDMUL() 590 if (OtherOp.getOpcode() == ISD::MUL) { in isADDADDMUL() 592 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse()) in isADDADDMUL() 594 Mul0 = OtherOp.getOperand(0); in isADDADDMUL() 595 Mul1 = OtherOp.getOperand(1); in isADDADDMUL() 607 Addend1 = OtherOp; in isADDADDMUL() 617 Addend1 = OtherOp; in isADDADDMUL()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | PredicateInfo.h | 72 /// Constraint for a predicate of the form "cmp Pred Op, OtherOp", where Op 76 Value *OtherOp; 77 Value *OtherOp; global() member
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
H A 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 …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | GIMatchTableExecutorImpl.h | 956 MachineOperand &OtherOp = State.MIs[OtherInsnID]->getOperand(OtherOpIdx); in executeMatchTable() local 959 if (Op.isReg() && OtherOp.isReg()) { in executeMatchTable() 961 getSrcRegIgnoringCopies(OtherOp.getReg(), MRI)) in executeMatchTable() 966 if (!Op.isIdenticalTo(OtherOp)) { in executeMatchTable()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 2063 Value *OtherOp) { in canonicalizeNegFPConstantsForOp() argument 2109 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I) in canonicalizeNegFPConstantsForOp() 2110 : Builder.CreateFSubFMF(OtherOp, Op, I); in canonicalizeNegFPConstantsForOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 384 SDValue OtherOp = User->getOperand(0); in shouldAvoidImmediateInstFormsForSize() local 385 if (OtherOp.getNode() == N) in shouldAvoidImmediateInstFormsForSize() 386 OtherOp = User->getOperand(1); in shouldAvoidImmediateInstFormsForSize() 390 if (OtherOp->getOpcode() == ISD::CopyFromReg && in shouldAvoidImmediateInstFormsForSize() 392 OtherOp->getOperand(1).getNode()))) in shouldAvoidImmediateInstFormsForSize()
|