HomeSort by relevance Sort by last modified time
    Searched refs:OpC (Results 1 - 14 of 14) sorted by null

  /external/llvm/include/llvm/Transforms/Utils/
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/
Operator.h 149 static bool isPossiblyExactOpcode(unsigned OpC) {
150 return OpC == Instruction::SDiv ||
151 OpC == Instruction::UDiv ||
152 OpC == Instruction::AShr ||
153 OpC == Instruction::LShr;
192 template<typename SuperClass, unsigned Opc>
196 static inline bool classof(const ConcreteOperator<SuperClass, Opc> *) {
200 return I->getOpcode() == Opc;
203 return CE->getOpcode() == Opc;
  /external/llvm/lib/Target/PowerPC/
PPCRegisterInfo.cpp 516 unsigned OpC = MI.getOpcode();
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)->second
    [all...]
PPCISelDAGToDAG.cpp 321 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) {
322 return N->getOpcode() == Opc
465 unsigned Opc;
494 Opc = PPC::CMPLW;
499 Opc = PPC::CMPLW;
506 Opc = PPC::CMPW;
537 Opc = PPC::CMPLD;
542 Opc = PPC::CMPLD;
549 Opc = PPC::CMPD;
552 Opc = PPC::FCMPUS
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalDCE.cpp 197 if (Constant *OpC = dyn_cast<Constant>(*I))
198 MarkUsedGlobalsAsNeeded(OpC);
  /external/llvm/lib/Analysis/
InlineCost.cpp 246 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
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;
    [all...]
ValueTracking.cpp     [all...]
InstructionSimplify.cpp 259 static Value *SimplifyAssociativeBinOp(unsigned Opc, Value *LHS, Value *RHS,
261 Instruction::BinaryOps Opcode = (Instruction::BinaryOps)Opc;
675 ConstantInt *OpC = dyn_cast<ConstantInt>(*I);
676 if (!OpC) return false;
677 if (OpC->isZero()) continue;
681 unsigned ElementIdx = OpC->getZExtValue();
688 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
    [all...]
ConstantFolding.cpp 545 static Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0,
556 if (Opc == Instruction::Sub && TD) {
    [all...]
  /external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 51 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i));
52 if (OpC == 0)
54 if (OpC->isZero()) continue; // No offset.
58 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue());
65 Offset += Size*OpC->getSExtValue();
    [all...]
SimplifyLibCalls.cpp     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 33 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo));
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));
    [all...]
  /external/llvm/lib/Target/X86/
X86FastISel.cpp 88 bool X86FastEmitExtend(ISD::NodeType Opc, EVT DstVT, unsigned Src, EVT SrcVT,
181 unsigned Opc = 0;
187 Opc = X86::MOV8rm;
191 Opc = X86::MOV16rm;
195 Opc = X86::MOV32rm;
200 Opc = X86::MOV64rm;
205 Opc = Subtarget->hasAVX() ? X86::VMOVSSrm : X86::MOVSSrm;
208 Opc = X86::LD_Fp32m;
214 Opc = Subtarget->hasAVX() ? X86::VMOVSDrm : X86::MOVSDrm;
217 Opc = X86::LD_Fp64m
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 343 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) {
344 ID.AddInteger(OpC);
374 unsigned short OpC, SDVTList VTList,
376 AddNodeIDOpcode(ID, OpC);
    [all...]

Completed in 295 milliseconds