HomeSort by relevance Sort by last modified time
    Searched defs:OpC (Results 1 - 13 of 13) sorted by null

  /external/llvm/lib/IR/
Operator.cpp 23 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
24 if (!OpC)
26 if (OpC->isZero())
31 unsigned ElementIdx = OpC->getZExtValue();
38 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
Verifier.cpp     [all...]
  /frameworks/compile/libbcc/lib/Renderscript/
RSX86TranslateGEPPass.cpp 76 llvm::ConstantInt *OpC = llvm::dyn_cast<llvm::ConstantInt>(GTI.getOperand());
77 if (!OpC) {
84 unsigned EltOffset = SL->getElementOffset(OpC->getZExtValue());
  /external/llvm/lib/Target/PowerPC/
PPCRegisterInfo.cpp 720 unsigned OpC = MI.getOpcode();
722 switch (OpC) {
776 unsigned OpC = MI.getOpcode();
778 if ((OpC == PPC::DYNAREAOFFSET || OpC == PPC::DYNAREAOFFSET8)) {
785 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) {
791 if (OpC == PPC::SPILL_CR) {
794 } else if (OpC == PPC::RESTORE_CR) {
797 } else if (OpC == PPC::SPILL_CRBIT)
    [all...]
PPCInstrInfo.cpp 885 unsigned Opc;
887 Opc = PPC::OR
    [all...]
PPCISelDAGToDAG.cpp 458 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) {
459 return N->getOpcode() == Opc
467 unsigned Opc = N->getValueType(0) == MVT::i32 ? PPC::ADDI : PPC::ADDI8;
469 return CurDAG->SelectNodeTo(SN, Opc, N->getValueType(0), TFI,
471 return CurDAG->getMachineNode(Opc, dl, N->getValueType(0), TFI,
725 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8;
726 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi));
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 35 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo));
36 if (!OpC) return false;
39 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth());
40 if ((~Demanded & OpC->getValue()) == 0)
44 Demanded &= OpC->getValue();
45 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded));
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonStoreWidening.cpp 114 unsigned OpC = MI->getOpcode();
117 switch (OpC) {
153 unsigned Opc = MI->getOpcode();
154 switch (Opc) {
  /external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 55 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i));
56 if (!OpC)
58 if (OpC->isZero()) continue; // No offset.
62 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue());
69 Offset += Size*OpC->getSExtValue();
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 623 static Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0,
632 if (Opc == Instruction::And) {
656 if (Opc == Instruction::Sub) {
    [all...]
InlineCost.cpp 269 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
270 if (!OpC)
272 OpC = dyn_cast<ConstantInt>(SimpleOp);
273 if (!OpC)
275 if (OpC->isZero()) continue;
279 unsigned ElementIdx = OpC->getZExtValue();
286 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
    [all...]
ValueTracking.cpp     [all...]
  /external/llvm/lib/CodeGen/
TargetInstrInfo.cpp 697 MachineOperand &OpC = Root.getOperand(0);
703 unsigned RegC = OpC.getReg();
    [all...]

Completed in 2689 milliseconds