Searched refs:OpC (Results 1 - 13 of 13) sorted by relevance
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | Local.h | 206 if (Constant *OpC = dyn_cast<Constant>(Op)) { 207 if (OpC->isZeroValue()) 212 if (OpC->getType()->isVectorTy()) 213 OpC = OpC->getSplatValue(); 215 uint64_t OpValue = cast<ConstantInt>(OpC)->getZExtValue(); 225 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
|
/external/llvm/include/llvm/IR/ |
H A D | Operator.h | 151 static bool isPossiblyExactOpcode(unsigned OpC) { argument 152 return OpC == Instruction::SDiv || 153 OpC == Instruction::UDiv || 154 OpC == Instruction::AShr || 155 OpC == Instruction::LShr; 455 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local 456 if (!OpC) 458 if (OpC->isZero()) 463 unsigned ElementIdx = OpC->getZExtValue(); 471 APInt Index = OpC [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfo.cpp | 672 unsigned OpC = MI.getOpcode(); local 674 switch (OpC) { 724 unsigned OpC = MI.getOpcode(); local 728 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) { 734 if (OpC == PPC::SPILL_CR) { 737 } else if (OpC == PPC::RESTORE_CR) { 740 } else if (OpC == PPC::SPILL_CRBIT) { 743 } else if (OpC == PPC::RESTORE_CRBIT) { 746 } else if (OpC 907 unsigned OpC = MI->getOpcode(); local [all...] |
H A D | PPCInstrInfo.cpp | 1108 unsigned OpC = MI->getOpcode(); local 1109 if (OpC == PPC::BLR) { 1131 } else if (OpC == PPC::B) { 1165 } else if (OpC == PPC::BCTR || OpC == PPC::BCTR8 || 1166 OpC == PPC::BCTRL || OpC == PPC::BCTRL8) { 1170 bool setLR = OpC == PPC::BCTRL || OpC == PPC::BCTRL8; 1267 unsigned OpC local 1316 int OpC = CmpInstr->getOpcode(); local [all...] |
H A D | PPCISelDAGToDAG.cpp | 969 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8; local 970 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi));
|
/external/llvm/lib/Analysis/IPA/ |
H A D | InlineCost.cpp | 250 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local 251 if (!OpC) 253 OpC = dyn_cast<ConstantInt>(SimpleOp); 254 if (!OpC) 256 if (OpC->isZero()) continue; 260 unsigned ElementIdx = OpC->getZExtValue(); 267 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 52 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); local 53 if (!OpC) 55 if (OpC->isZero()) continue; // No offset. 59 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); 66 Offset += Size*OpC->getSExtValue();
|
H A D | SROA.cpp | 413 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local 414 if (!OpC) 419 unsigned ElementIdx = OpC->getZExtValue(); 425 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
|
/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/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1327 if (SIToFPInst *OpC = dyn_cast<SIToFPInst>(Op)) { 1328 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() <= 32) 1329 LdExpArg = B.CreateSExt(OpC->getOperand(0), B.getInt32Ty()); 1330 } else if (UIToFPInst *OpC = dyn_cast<UIToFPInst>(Op)) { 1331 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() < 32) 1332 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty());
|
/external/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 939 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand()); local 940 unsigned ElementIdx = OpC->getZExtValue(); 954 if (ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand())) { 955 if (!OpC->isZero())
|
H A D | ConstantFolding.cpp | 1183 unsigned OpC = local 1186 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, TD, TLI);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 356 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { argument 357 ID.AddInteger(OpC); 400 static void AddNodeIDNode(FoldingSetNodeID &ID, unsigned short OpC, argument 402 AddNodeIDOpcode(ID, OpC);
|
Completed in 436 milliseconds