Searched refs:OtherOp (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeExecMasking.cpp392 MachineOperand *OtherOp = nullptr; local
395 OtherOp = &Src1;
400 OtherOp = &Src0;
411 .addReg(OtherOp->getReg());
H A DAMDGPUPromoteAlloca.cpp497 Value *OtherOp = Inst->getOperand(OpIdx0); local
498 if (Val == OtherOp)
499 OtherOp = Inst->getOperand(OpIdx1);
501 if (isa<ConstantPointerNull>(OtherOp))
504 Value *OtherObj = GetUnderlyingObject(OtherOp, *DL);
H A DSIFoldOperands.cpp408 MachineOperand &OtherOp = MI->getOperand(OtherIdx); local
409 if (!OtherOp.isReg() ||
410 !TII->getRegisterInfo().isVGPR(MRI, OtherOp.getReg()))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp134 Value *Cond, *OtherOp; local
136 // mul (select Cond, 1, -1), OtherOp --> select Cond, OtherOp, -OtherOp
137 // mul OtherOp, (select Cond, 1, -1) --> select Cond, OtherOp, -OtherOp
139 m_Value(OtherOp))))
140 return Builder.CreateSelect(Cond, OtherOp, Builder.CreateNeg(OtherOp));
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h126 Value *OtherOp);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1014 if (Instruction *OtherOp = dyn_cast<Instruction>(UserI->getOperand(i))){
1015 LoadInst *OtherLoad = dyn_cast<LoadInst>(OtherOp);
1017 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) ||
1018 isa<ZExtInst>(OtherOp)))
1019 OtherLoad = dyn_cast<LoadInst>(OtherOp->getOperand(0));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1342 // * OtherOp is set to the alternative value of N.
1345 // * X = 0, Invert = False and OtherOp = Y
1346 // * Y = 0, Invert = True and OtherOp = X
1348 bool &Invert, SDValue &OtherOp,
1359 OtherOp = N2;
1364 OtherOp = N1;
1378 OtherOp = DAG.getConstant(1, dl, VT);
1392 OtherOp = DAG.getConstant(0, dl, VT);
1394 OtherOp =
1418 static SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, argument
1347 isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes, SDValue &CC, bool &Invert, SDValue &OtherOp, SelectionDAG &DAG) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp587 SDValue OtherOp; local
590 OtherOp = N1;
593 OtherOp = N0;
599 if (OtherOp.getOpcode() == ISD::MUL) {
601 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse())
603 Mul0 = OtherOp.getOperand(0);
604 Mul1 = OtherOp.getOperand(1);
616 Addend1 = OtherOp;
626 Addend1 = OtherOp;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1995 Value *OtherOp) {
2041 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I)
2042 : Builder.CreateFSubFMF(OtherOp, Op, I);
2050 /// OtherOp + (subtree) -> OtherOp {+/-} (canonical subtree)
2051 /// (subtree) + OtherOp -> OtherOp {+/-} (canonical subtree)
2052 /// OtherOp - (subtree) -> OtherOp {+/-} (canonical subtree)
H A DLoopStrengthReduce.cpp3454 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx)); local
3455 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2036 Value *OtherOp = nullptr;
2052 OtherOp = Op1;
2070 if (OtherOp) {
2075 Value *SqrtCall = B.CreateCall(Sqrt, OtherOp, "sqrt");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp386 SDValue OtherOp = User->getOperand(0); local
387 if (OtherOp.getNode() == N)
388 OtherOp = User->getOperand(1);
392 if (OtherOp->getOpcode() == ISD::CopyFromReg &&
394 OtherOp->getOperand(1).getNode())))
H A DX86ISelLowering.cpp[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp12805 SDValue OtherOp; local
12808 OtherOp = N1.getOperand(1);
12811 OtherOp = N1.getOperand(0);
12817 RV = DAG.getNode(ISD::FDIV, SDLoc(N1), VT, RV, OtherOp, Flags);
15298 SDNode *OtherOp; local
15301 // OtherOp is what we're multiplying against the constant.
15303 OtherOp = Use->getOperand(1).getNode();
15305 OtherOp = Use->getOperand(0).getNode();
15310 // Use = ConstNode * A <-- visiting Use. OtherOp is A.
15317 if (OtherOp
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp10979 // OtherOp is set to the alternative value of N.
10982 SDValue &OtherOp,
10992 OtherOp = N2;
10997 OtherOp = N1;
11017 OtherOp = DAG.getConstant(0, dl, VT);
11020 OtherOp = DAG.getConstant(1, dl, VT);
11022 OtherOp = DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), dl,
11049 // @param OtherOp The other N operand (x above).
11054 SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, argument
11067 SDValue TrueVal = OtherOp;
10980 isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes, SDValue &CC, bool &Invert, SDValue &OtherOp, SelectionDAG &DAG) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp6064 const SCEV *OtherOp = getSCEV(I->getOperand(OtherOpIndex));
6065 if (!isLoopInvariant(OtherOp, AddRec->getLoop())) {

Completed in 405 milliseconds