HomeSort by: relevance | last modified time | path
    Searched refs:OtherOp (Results 1 - 23 of 23) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIOptimizeExecMasking.cpp 431 MachineOperand *OtherOp = nullptr;
434 OtherOp = &Src1;
439 OtherOp = &Src0;
450 .addReg(OtherOp->getReg());
AMDGPUPromoteAlloca.cpp 578 Value *OtherOp = Inst->getOperand(OpIdx0);
579 if (Val == OtherOp)
580 OtherOp = Inst->getOperand(OpIdx1);
582 if (isa<ConstantPointerNull>(OtherOp))
585 Value *OtherObj = getUnderlyingObject(OtherOp);
SIFoldOperands.cpp 423 MachineOperand &OtherOp = MI->getOperand(OtherIdx);
424 if (!OtherOp.isReg() ||
425 !TII->getRegisterInfo().isVGPR(MRI, OtherOp.getReg()))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineNegator.cpp 419 Value *NegatedOp, *OtherOp;
424 OtherOp = Ops[0];
427 OtherOp = Ops[1];
431 return Builder.CreateMul(NegatedOp, OtherOp, I->getName() + ".neg");
InstCombineMulDivRem.cpp 105 Value *Cond, *OtherOp;
107 // mul (select Cond, 1, -1), OtherOp --> select Cond, OtherOp, -OtherOp
108 // mul OtherOp, (select Cond, 1, -1) --> select Cond, OtherOp, -OtherOp
110 m_Value(OtherOp))))
111 return Builder.CreateSelect(Cond, OtherOp, Builder.CreateNeg(OtherOp));
    [all...]
InstructionCombining.cpp 1727 Value *Y, *OtherOp;
1730 OtherOp = BO->getOperand(1);
1733 OtherOp = BO->getOperand(0);
1740 // bo (splat X), (bo Y, OtherOp) --> bo (splat (bo X, Y)), OtherOp
1744 Instruction *R = BinaryOperator::Create(Opcode, NewSplat, OtherOp);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
Reassociate.h 126 Value *OtherOp);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
PredicateInfo.h 71 /// Constraint for a predicate of the form "cmp Pred Op, OtherOp", where Op
75 Value *OtherOp;
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp 1090 if (Instruction *OtherOp = dyn_cast<Instruction>(UserI->getOperand(i))){
1091 LoadInst *OtherLoad = dyn_cast<LoadInst>(OtherOp);
1093 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) ||
1094 isa<ZExtInst>(OtherOp)))
1095 OtherLoad = dyn_cast<LoadInst>(OtherOp->getOperand(0));
  /src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
LanaiISelLowering.cpp 1342 // * 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,
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SCCPSolver.cpp 1238 Value *OtherOp = Constraint->OtherOp;
1240 // Wait until OtherOp is resolved.
1241 if (getValueState(OtherOp).isUnknown()) {
1242 addAdditionalUser(OtherOp, &CB);
1257 ValueLatticeElement CondVal = getValueState(OtherOp);
1281 addAdditionalUser(OtherOp, &CB);
1288 addAdditionalUser(OtherOp, &CB);
1294 addAdditionalUser(OtherOp, &CB);
PredicateInfo.cpp 785 Value *OtherOp;
788 OtherOp = Cmp->getOperand(1);
791 OtherOp = Cmp->getOperand(0);
801 return {{Pred, OtherOp}};
SimplifyLibCalls.cpp 2021 Value *OtherOp = nullptr;
2037 OtherOp = Op1;
2055 if (OtherOp) {
2060 Value *SqrtCall = B.CreateCall(Sqrt, OtherOp, "sqrt");
  /src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
XCoreISelLowering.cpp 586 SDValue OtherOp;
589 OtherOp = N1;
592 OtherOp = N0;
598 if (OtherOp.getOpcode() == ISD::MUL) {
600 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse())
602 Mul0 = OtherOp.getOperand(0);
603 Mul1 = OtherOp.getOperand(1);
615 Addend1 = OtherOp;
625 Addend1 = OtherOp;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
Reassociate.cpp 2093 Value *OtherOp) {
2139 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I)
2140 : Builder.CreateFSubFMF(OtherOp, Op, I);
2148 /// OtherOp + (subtree) -> OtherOp {+/-} (canonical subtree)
2149 /// (subtree) + OtherOp -> OtherOp {+/-} (canonical subtree)
2150 /// OtherOp - (subtree) -> OtherOp {+/-} (canonical subtree)
LoopStrengthReduce.cpp 3470 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx));
3471 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L))
NewGVN.cpp 1567 Value *CmpOp1 = Constraint->OtherOp;
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp 383 SDValue OtherOp = User->getOperand(0);
384 if (OtherOp.getNode() == N)
385 OtherOp = User->getOperand(1);
389 if (OtherOp->getOpcode() == ISD::CopyFromReg &&
391 OtherOp->getOperand(1).getNode())))
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
InstructionSimplify.cpp 234 /// Try to simplify a binary operator of form "V op OtherOp" where V is
236 /// "(B0 op OtherOp) opex (B1 op OtherOp)".
238 Value *OtherOp, Instruction::BinaryOps OpcodeToExpand,
244 Value *L = SimplifyBinOp(Opcode, B0, OtherOp, Q.getWithoutUndef(),
248 Value *R = SimplifyBinOp(Opcode, B1, OtherOp, Q.getWithoutUndef(),
ScalarEvolution.cpp 6383 const SCEV *OtherOp = getSCEV(I->getOperand(OtherOpIndex));
6384 if (!isLoopInvariant(OtherOp, AddRec->getLoop())) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMISelLowering.cpp 11776 // OtherOp is set to the alternative value of N.
11779 SDValue &OtherOp,
11789 OtherOp = N2;
11794 OtherOp = N1;
11814 OtherOp = DAG.getConstant(0, dl, VT);
11817 OtherOp = DAG.getConstant(1, dl, VT);
11819 OtherOp = DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), dl,
11846 // @param OtherOp The other N operand (x above).
11851 SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp,
11864 SDValue TrueVal = OtherOp;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp 16656 SDNode *OtherOp;
16659 // OtherOp is what we're multiplying against the constant.
16661 OtherOp = Use->getOperand(1).getNode();
16663 OtherOp = Use->getOperand(0).getNode();
16668 // Use = ConstNode * A <-- visiting Use. OtherOp is A.
16675 if (OtherOp == MulVar)
16685 // OtherOp = (A + c2)
16686 // Use = OtherOp * ConstNode <-- visiting Use.
16691 if (OtherOp->getOpcode() == ISD::ADD &&
16692 DAG.isConstantIntBuildVectorOrConstantInt(OtherOp->getOperand(1)) &
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp 5430 static SDValue combineSelectCCAndUse(SDNode *N, SDValue Slct, SDValue OtherOp,
5455 TrueVal = OtherOp;
5456 FalseVal = DAG.getNode(N->getOpcode(), SDLoc(N), VT, OtherOp, NonConstantVal);

Completed in 166 milliseconds