/external/llvm/lib/IR/ |
H A D | Operator.cpp | 23 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local 24 if (!OpC) 26 if (OpC->isZero()) 31 unsigned ElementIdx = OpC->getZExtValue(); 38 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
|
H A D | Verifier.cpp | 1513 const auto *OpC = dyn_cast<Constant>(U); local 1514 if (!OpC) 1516 if (isa<GlobalValue>(OpC)) 1518 if (!ConstantExprVisited.insert(OpC).second) 1520 Stack.push_back(OpC);
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | Local.h | 212 if (Constant *OpC = dyn_cast<Constant>(Op)) { 213 if (OpC->isZeroValue()) 218 if (OpC->getType()->isVectorTy()) 219 OpC = OpC->getSplatValue(); 221 uint64_t OpValue = cast<ConstantInt>(OpC)->getZExtValue(); 231 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfo.cpp | 720 unsigned OpC = MI.getOpcode(); local 722 switch (OpC) { 776 unsigned OpC = MI.getOpcode(); local 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 [all...] |
H A D | PPCInstrInfo.cpp | 1303 unsigned OpC = MI->getOpcode(); local 1304 if (OpC == PPC::BLR || OpC == PPC::BLR8) { 1326 } else if (OpC == PPC::B) { 1360 } else if (OpC == PPC::BCTR || OpC == PPC::BCTR8 || 1361 OpC == PPC::BCTRL || OpC == PPC::BCTRL8) { 1365 bool setLR = OpC == PPC::BCTRL || OpC 1461 unsigned OpC = MI->getOpcode(); local 1511 int OpC = CmpInstr->getOpcode(); local [all...] |
H A D | PPCISelDAGToDAG.cpp | 725 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8; local 726 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi));
|
/external/llvm/include/llvm/IR/ |
H A D | Operator.h | 145 static bool isPossiblyExactOpcode(unsigned OpC) { argument 146 return OpC == Instruction::SDiv || 147 OpC == Instruction::UDiv || 148 OpC == Instruction::AShr || 149 OpC == Instruction::LShr;
|
/external/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 269 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local 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;
|
H A D | ConstantFolding.cpp | 1177 unsigned OpC = local 1180 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, DL, TLI);
|
H A D | ValueTracking.cpp | 1838 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand()); local 1839 unsigned ElementIdx = OpC->getZExtValue(); 1853 if (ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand())) { 1854 if (!OpC->isZero())
|
H A D | ScalarEvolution.cpp | 5685 Instruction::BinaryOps OpC; 5697 if (MatchPositiveShift(LHS, V, OpC)) { 5698 PostShiftOpCode = OpC;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 55 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); local 56 if (!OpC) 58 if (OpC->isZero()) continue; // No offset. 62 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); 69 Offset += Size*OpC->getSExtValue();
|
H A D | SROA.cpp | 704 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 705 if (!OpC) 710 unsigned ElementIdx = OpC->getZExtValue(); 717 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1130 if (auto *OpC = dyn_cast<CallInst>(Op1)) { 1137 Function *OpCCallee = OpC->getCalledFunction(); 1141 B.CreateFMul(OpC->getArgOperand(0), Op2, "mul"), 1239 if (SIToFPInst *OpC = dyn_cast<SIToFPInst>(Op)) { 1240 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() <= 32) 1241 LdExpArg = B.CreateSExt(OpC->getOperand(0), B.getInt32Ty()); 1242 } else if (UIToFPInst *OpC = dyn_cast<UIToFPInst>(Op)) { 1243 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() < 32) 1244 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty()); 1355 auto *OpC [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 35 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo)); local 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));
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonStoreWidening.cpp | 114 unsigned OpC = MI->getOpcode(); local 117 switch (OpC) {
|
/external/llvm/lib/CodeGen/ |
H A D | TargetInstrInfo.cpp | 697 MachineOperand &OpC = Root.getOperand(0); local 703 unsigned RegC = OpC.getReg();
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 350 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { argument 351 ID.AddInteger(OpC); 396 static void AddNodeIDNode(FoldingSetNodeID &ID, unsigned short OpC, argument 398 AddNodeIDOpcode(ID, OpC);
|