/freebsd-9.3-release/contrib/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*/);
|
/freebsd-9.3-release/contrib/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; 451 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local 452 if (!OpC) 454 if (OpC->isZero()) 459 unsigned ElementIdx = OpC->getZExtValue(); 467 APInt Index = OpC [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfo.cpp | 530 unsigned OpC = MI.getOpcode(); local 532 switch (OpC) { 582 unsigned OpC = MI.getOpcode(); local 586 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) { 592 if (OpC == PPC::SPILL_CR) { 595 } else if (OpC == PPC::RESTORE_CR) { 598 } else if (OpC == PPC::SPILL_VRSAVE) { 601 } else if (OpC == PPC::RESTORE_VRSAVE) { 615 bool noImmForm = !MI.isInlineAsm() && !ImmToIdxMap.count(OpC); 759 unsigned OpC = MI->getOpcode(); local [all...] |
H A D | PPCInstrInfo.cpp | 933 unsigned OpC = MI->getOpcode(); local 934 if (OpC == PPC::BLR) { 948 } else if (OpC == PPC::B) { 966 } else if (OpC == PPC::BCTR || OpC == PPC::BCTR8 || 967 OpC == PPC::BCTRL || OpC == PPC::BCTRL8) { 971 bool setLR = OpC == PPC::BCTRL || OpC == PPC::BCTRL8; 1053 unsigned OpC local 1102 int OpC = CmpInstr->getOpcode(); local [all...] |
H A D | PPCISelDAGToDAG.cpp | 926 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8; local 927 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi));
|
/freebsd-9.3-release/contrib/llvm/lib/Analysis/IPA/ |
H A D | InlineCost.cpp | 267 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local 268 if (!OpC) 270 OpC = dyn_cast<ConstantInt>(SimpleOp); 271 if (!OpC) 273 if (OpC->isZero()) continue; 277 unsigned ElementIdx = OpC->getZExtValue(); 284 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 51 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); local 52 if (OpC == 0) 54 if (OpC->isZero()) continue; // No offset. 58 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); 65 Offset += Size*OpC->getSExtValue();
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 34 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo)); local 35 if (!OpC) return false; 38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); 39 if ((~Demanded & OpC->getValue()) == 0) 43 Demanded &= OpC->getValue(); 44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded));
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1226 if (SIToFPInst *OpC = dyn_cast<SIToFPInst>(Op)) { 1227 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() <= 32) 1228 LdExpArg = B.CreateSExt(OpC->getOperand(0), B.getInt32Ty()); 1229 } else if (UIToFPInst *OpC = dyn_cast<UIToFPInst>(Op)) { 1230 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() < 32) 1231 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty());
|
/freebsd-9.3-release/contrib/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 940 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand()); local 941 unsigned ElementIdx = OpC->getZExtValue(); 955 if (ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand())) { 956 if (!OpC->isZero())
|
H A D | ConstantFolding.cpp | 1128 unsigned OpC = local 1131 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, TD, TLI);
|
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 1745 unsigned OpC = 0; local 1747 OpC = X86::ADD32rr; 1749 OpC = X86::ADD64rr; 1756 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(OpC), ResultReg)
|
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 325 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { argument 326 ID.AddInteger(OpC); 356 unsigned short OpC, SDVTList VTList, 358 AddNodeIDOpcode(ID, OpC); 355 AddNodeIDNode(FoldingSetNodeID &ID, unsigned short OpC, SDVTList VTList, const SDValue *OpList, unsigned N) argument
|