/external/llvm/include/llvm/Transforms/Utils/ |
H A D | Local.h | 196 if (ConstantInt *OpC = dyn_cast<ConstantInt>(Op)) { 197 if (OpC->isZero()) continue; 201 Size = TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); 210 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
|
/external/llvm/include/llvm/ |
H A D | Operator.h | 149 static bool isPossiblyExactOpcode(unsigned OpC) { argument 150 return OpC == Instruction::SDiv || 151 OpC == Instruction::UDiv || 152 OpC == Instruction::AShr || 153 OpC == Instruction::LShr;
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfo.cpp | 516 unsigned OpC = MI.getOpcode(); local 520 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) { 527 if (OpC == PPC::SPILL_CR) { 530 } else if (OpC == PPC::RESTORE_CR) { 548 switch (OpC) { 578 if (OpC == PPC::DBG_VALUE || // DBG_VALUE is always Reg+Imm 610 if (OpC != TargetOpcode::INLINEASM) { 611 assert(ImmToIdxMap.count(OpC) && 613 unsigned NewOpcode = ImmToIdxMap.find(OpC) [all...] |
H A D | PPCISelDAGToDAG.cpp | 798 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8; local 799 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi));
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalDCE.cpp | 197 if (Constant *OpC = dyn_cast<Constant>(*I)) 198 MarkUsedGlobalsAsNeeded(OpC);
|
/external/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 246 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local 247 if (!OpC) 249 OpC = dyn_cast<ConstantInt>(SimpleOp); 250 if (!OpC) 252 if (OpC->isZero()) continue; 256 unsigned ElementIdx = OpC->getZExtValue(); 263 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
|
H A D | ValueTracking.cpp | 1601 ConstantInt *OpC = cast<ConstantInt>(*I); local 1602 if (OpC->isZero()) continue; 1606 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); 1609 Offset += OpC->getSExtValue()*Size;
|
H A D | InstructionSimplify.cpp | 675 ConstantInt *OpC = dyn_cast<ConstantInt>(*I); local 676 if (!OpC) return false; 677 if (OpC->isZero()) continue; 681 unsigned ElementIdx = OpC->getZExtValue(); 688 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
|
H A D | ConstantFolding.cpp | 1044 unsigned OpC = local 1047 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, TD, TLI);
|
/external/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();
|
H A D | SimplifyLibCalls.cpp | 1047 if (SIToFPInst *OpC = dyn_cast<SIToFPInst>(Op)) { 1048 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() <= 32) 1049 LdExpArg = B.CreateSExt(OpC->getOperand(0), B.getInt32Ty()); 1050 } else if (UIToFPInst *OpC = dyn_cast<UIToFPInst>(Op)) { 1051 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() < 32) 1052 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty());
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 33 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo)); local 34 if (!OpC) return false; 37 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); 38 if ((~Demanded & OpC->getValue()) == 0) 42 Demanded &= OpC->getValue(); 43 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded));
|
/external/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 1481 unsigned OpC = 0; local 1483 OpC = X86::ADD32rr; 1485 OpC = X86::ADD64rr; 1492 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(OpC), ResultReg)
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 343 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { argument 344 ID.AddInteger(OpC); 374 unsigned short OpC, SDVTList VTList, 376 AddNodeIDOpcode(ID, OpC); 373 AddNodeIDNode(FoldingSetNodeID &ID, unsigned short OpC, SDVTList VTList, const SDValue *OpList, unsigned N) argument
|