HomeSort by relevance Sort by last modified time
    Searched defs:Op0 (Results 1 - 25 of 35) sorted by null

1 2

  /external/llvm/lib/Target/Sparc/
SparcISelDAGToDAG.cpp 193 SDValue Op0, Op1;
197 if (!SelectADDRrr(Op, Op0, Op1))
198 SelectADDRri(Op, Op0, Op1);
202 OutOps.push_back(Op0);
  /external/llvm/lib/Transforms/Scalar/
CorrelatedValuePropagation.cpp 141 Value *Op0 = C->getOperand(0);
142 if (isa<Instruction>(Op0) &&
143 cast<Instruction>(Op0)->getParent() == C->getParent())
  /external/llvm/lib/Target/PTX/
PTXISelLowering.cpp 149 SDValue Op0 = Op.getOperand(0);
163 return DAG.getNode(ISD::AND, dl, MVT::i1, Op0, Op1);
166 return DAG.getNode(ISD::SETCC, dl, MVT::i1, Op0, Op1, Op2);
  /external/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp 288 SDValue Op0, Op1;
292 if (!SelectAddr(Op, Op0, Op1))
297 OutOps.push_back(Op0);
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp 530 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1);
532 if (Value *V = SimplifySubInst(Op0, Op1, I.hasNoSignedWrap(),
542 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V);
549 return BinaryOperator::CreateXor(Op0, Op1);
552 if (match(Op0, m_AllOnes()))
555 if (ConstantInt *C = dyn_cast<ConstantInt>(Op0)) {
595 if (match(Op1, m_Add(m_Specific(Op0), m_Value(Y))) ||
596 match(Op1, m_Add(m_Value(Y), m_Specific(Op0))))
600 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y))))
611 return BinaryOperator::CreateAdd(Op0,
    [all...]
InstCombineMulDivRem.cpp 101 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1);
103 if (Value *V = SimplifyMulInst(Op0, Op1, TD))
110 return BinaryOperator::CreateNeg(Op0, I.getName());
115 if (BinaryOperator *SI = dyn_cast<BinaryOperator>(Op0))
123 Constant *NewCst = ConstantInt::get(Op0->getType(), Val.logBase2());
124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst);
132 if (Op0->hasOneUse() &&
133 match(Op0, m_Add(m_Value(X), m_ConstantInt(C1)))) {
147 if (Op0->hasOneUse()) {
150 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))
    [all...]
InstCombineShifts.cpp 24 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1);
31 if (isa<Constant>(Op0))
37 if (Instruction *Res = FoldShiftByConstant(Op0, CUI, I))
311 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantInt *Op1,
319 CanEvaluateShifted(Op0, Op1->getZExtValue(), isLeftShift, *this)) {
321 " to eliminate shift:\n IN: " << *Op0 << "\n SH: " << I <<"\n");
324 GetShiftedValue(Op0, Op1->getZExtValue(), isLeftShift, *this));
330 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits();
337 return ReplaceInstUsesWith(I, Constant::getNullValue(Op0->getType()));
344 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0))
    [all...]
InstCombineCalls.cpp 639 Value *Op0 = Builder->CreateBitCast(II->getArgOperand(0),
643 Value *Result = UndefValue::get(Op0->getType());
657 Builder->CreateExtractElement(Idx < 16 ? Op0 : Op1,
    [all...]
InstCombineCasts.cpp     [all...]
InstCombineAndOrXor.cpp 728 Value *Op0 = LHS->getOperand(0), *Op1 = LHS->getOperand(1);
731 return getICmpValue(isSigned, Code, Op0, Op1, Builder);
    [all...]
InstCombineCompares.cpp     [all...]
InstructionCombining.cpp 183 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(I.getOperand(0));
188 if (Op0 && Op0->getOpcode() == Opcode) {
189 Value *A = Op0->getOperand(0);
190 Value *B = Op0->getOperand(1);
201 (!Op0 || (isa<BinaryOperator>(Op0) && Op0->hasNoSignedWrap()))) {
203 // the operands to Op0.
239 if (Op0 && Op0->getOpcode() == Opcode)
    [all...]
  /external/llvm/lib/Target/Alpha/
AlphaISelDAGToDAG.cpp 156 SDValue Op0;
160 Op0 = Op;
164 OutOps.push_back(Op0);
  /external/llvm/lib/CodeGen/
ELFWriter.cpp 568 // solve direclty using a relocation entry. GlobalValue=Op0, CstInt=Op1
571 const Constant *Op0 = CE->getOperand(0);
575 CstExprResTy Res = ResolveConstantExpr(Op0);
576 assert(isa<GlobalValue>(Res.first) && "Op0 must be a GlobalValue");
    [all...]
  /external/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 544 Constant *Op0 = CE->getOperand(0);
548 GenericValue Result = getConstantValue(Op0);
550 uint64_t Offset = TD->getIndexedOffset(Op0->getType(), Indices);
557 GenericValue GV = getConstantValue(Op0);
563 GenericValue GV = getConstantValue(Op0);
569 GenericValue GV = getConstantValue(Op0);
576 GenericValue GV = getConstantValue(Op0);
582 GenericValue GV = getConstantValue(Op0);
587 GenericValue GV = getConstantValue(Op0);
602 GenericValue GV = getConstantValue(Op0);
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelDAGToDAG.cpp 376 SDValue Op0 = N->getOperand(0);
381 CurDAG->ComputeMaskedBits(Op0, APInt::getAllOnesValue(32), LKZ, LKO);
388 unsigned Op0Opc = Op0.getOpcode();
397 if (Op0.getOperand(0).getOpcode() == ISD::SHL ||
398 Op0.getOperand(0).getOpcode() == ISD::SRL) {
401 std::swap(Op0, Op1);
409 std::swap(Op0, Op1);
436 SDValue Ops[] = { Op0, Op1, getI32Imm(SH), getI32Imm(MB),
    [all...]
  /frameworks/compile/libbcc/lib/CodeGen/
CodeEmitter.cpp 185 const llvm::Constant *Op0 = CE->getOperand(0);
192 uint64_t Offset = mpTD->getIndexedOffset(Op0->getType(), Indices);
194 GetConstantValue(Op0, Result);
204 GetConstantValue(Op0, Result);
213 GetConstantValue(Op0, Result);
222 GetConstantValue(Op0, Result);
229 GetConstantValue(Op0, Result);
235 GetConstantValue(Op0, Result);
240 GetConstantValue(Op0, Result);
257 GetConstantValue(Op0, Result)
    [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp 362 unsigned Op0 = getRegForValue(I->getOperand(0));
363 if (Op0 == 0) // Unhandled operand. Halt "fast" selection and bail.
380 unsigned ResultReg = FastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0,
392 ISDOpcode, Op0, Op0IsKill, CF);
410 Op0, Op0IsKill,
719 unsigned Op0 = getRegForValue(I->getOperand(0));
720 if (Op0 == 0)
735 ResultReg).addReg(Op0);
742 ISD::BITCAST, Op0, Op0IsKill);
853 const Value *Op0 = EVI->getOperand(0)
    [all...]
TargetLowering.cpp     [all...]
  /external/llvm/lib/Target/CellSPU/
SPUISelDAGToDAG.cpp 270 SDValue Op0, Op1;
274 if (!SelectDFormAddr(Op.getNode(), Op, Op0, Op1)
275 && !SelectAFormAddr(Op.getNode(), Op, Op0, Op1))
276 SelectXFormAddr(Op.getNode(), Op, Op0, Op1);
279 if (!SelectDFormAddr(Op.getNode(), Op, Op0, Op1)
280 && !SelectAFormAddr(Op.getNode(), Op, Op0, Op1)) {
281 Op0 = Op;
289 SelectAddrIdxOnly(Op, Op, Op0, Op1);
294 OutOps.push_back(Op0);
347 SDValue Op0 = N.getOperand(0)
    [all...]
  /external/llvm/lib/Target/ARM/
ARMFastISel.cpp 113 unsigned Op0, bool Op0IsKill);
116 unsigned Op0, bool Op0IsKill,
120 unsigned Op0, bool Op0IsKill,
125 unsigned Op0, bool Op0IsKill,
129 unsigned Op0, bool Op0IsKill,
133 unsigned Op0, bool Op0IsKill,
144 unsigned Op0, bool Op0IsKill,
289 unsigned Op0, bool Op0IsKill) {
295 .addReg(Op0, Op0IsKill * RegState::Kill));
298 .addReg(Op0, Op0IsKill * RegState::Kill))
    [all...]
ARMLoadStoreOptimizer.cpp     [all...]
  /external/llvm/lib/Target/X86/
X86FastISel.cpp 875 bool X86FastISel::X86FastEmitCompare(const Value *Op0, const Value *Op1,
877 unsigned Op0Reg = getRegForValue(Op0);
882 Op1 = Constant::getNullValue(TD.getIntPtrType(Op0->getContext()));
917 bool SwapArgs; // false -> compare Op0, Op1. true -> compare Op1, Op0.
    [all...]
X86ISelDAGToDAG.cpp     [all...]

Completed in 2302 milliseconds

1 2