/external/llvm/include/llvm/ |
D | Operator.h | 147 static bool isPossiblyExactOpcode(unsigned OpC) { in isPossiblyExactOpcode() argument 148 return OpC == Instruction::SDiv || in isPossiblyExactOpcode() 149 OpC == Instruction::UDiv || in isPossiblyExactOpcode() 150 OpC == Instruction::AShr || in isPossiblyExactOpcode() 151 OpC == Instruction::LShr; in isPossiblyExactOpcode()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 572 unsigned OpC = MI.getOpcode(); in eliminateFrameIndex() local 576 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) { in eliminateFrameIndex() 583 if (OpC == PPC::SPILL_CR) { in eliminateFrameIndex() 597 switch (OpC) { in eliminateFrameIndex() 658 if (OpC != TargetOpcode::INLINEASM) { in eliminateFrameIndex() 659 assert(ImmToIdxMap.count(OpC) && in eliminateFrameIndex() 661 unsigned NewOpcode = ImmToIdxMap.find(OpC)->second; in eliminateFrameIndex()
|
D | PPCISelDAGToDAG.cpp | 783 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8; in Select() local 784 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi)); in Select()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalDCE.cpp | 197 if (Constant *OpC = dyn_cast<Constant>(*I)) in MarkUsedGlobalsAsNeeded() local 198 MarkUsedGlobalsAsNeeded(OpC); in MarkUsedGlobalsAsNeeded()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 51 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); in GetOffsetFromIndex() local 52 if (OpC == 0) in GetOffsetFromIndex() 54 if (OpC->isZero()) continue; // No offset. in GetOffsetFromIndex() 58 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex() 65 Offset += Size*OpC->getSExtValue(); in GetOffsetFromIndex()
|
D | SimplifyLibCalls.cpp | 909 if (SIToFPInst *OpC = dyn_cast<SIToFPInst>(Op)) { in CallOptimizer() local 910 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() <= 32) in CallOptimizer() 911 LdExpArg = B.CreateSExt(OpC->getOperand(0), B.getInt32Ty(), "tmp"); in CallOptimizer() 912 } else if (UIToFPInst *OpC = dyn_cast<UIToFPInst>(Op)) { in CallOptimizer() local 913 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() < 32) in CallOptimizer() 914 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty(), "tmp"); in CallOptimizer()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 33 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo)); in ShrinkDemandedConstant() local 34 if (!OpC) return false; in ShrinkDemandedConstant() 37 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); in ShrinkDemandedConstant() 38 if ((~Demanded & OpC->getValue()) == 0) in ShrinkDemandedConstant() 42 Demanded &= OpC->getValue(); in ShrinkDemandedConstant() 43 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant()
|
D | InstCombineAddSub.cpp | 419 if (ConstantInt *OpC = dyn_cast<ConstantInt>(Op)) { in EmitGEPOffset() local 420 if (OpC->isZero()) continue; in EmitGEPOffset() 424 Size = TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in EmitGEPOffset() 434 ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/); in EmitGEPOffset()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1502 ConstantInt *OpC = cast<ConstantInt>(*I); in GetPointerBaseWithConstantOffset() local 1503 if (OpC->isZero()) continue; in GetPointerBaseWithConstantOffset() 1507 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetPointerBaseWithConstantOffset() 1510 Offset += OpC->getSExtValue()*Size; in GetPointerBaseWithConstantOffset()
|
D | ConstantFolding.cpp | 965 unsigned OpC = in ConstantFoldCompareInstOperands() local 968 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, TD); in ConstantFoldCompareInstOperands()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 1430 unsigned OpC = 0; in X86VisitIntrinsicCall() local 1432 OpC = X86::ADD32rr; in X86VisitIntrinsicCall() 1434 OpC = X86::ADD64rr; in X86VisitIntrinsicCall() 1441 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(OpC), ResultReg) in X86VisitIntrinsicCall()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 316 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { in AddNodeIDOpcode() argument 317 ID.AddInteger(OpC); in AddNodeIDOpcode() 347 unsigned short OpC, SDVTList VTList, in AddNodeIDNode() argument 349 AddNodeIDOpcode(ID, OpC); in AddNodeIDNode()
|