/external/llvm/include/llvm/IR/ |
Operator.h | 151 static bool isPossiblyExactOpcode(unsigned OpC) { 152 return OpC == Instruction::SDiv || 153 OpC == Instruction::UDiv || 154 OpC == Instruction::AShr || 155 OpC == Instruction::LShr; 313 template<typename SuperClass, unsigned Opc> 317 return I->getOpcode() == Opc; 320 return CE->getOpcode() == Opc; 451 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 452 if (!OpC) [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCRegisterInfo.cpp | 529 unsigned OpC = MI.getOpcode(); 531 switch (OpC) { 580 unsigned OpC = MI.getOpcode(); 584 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) { 590 if (OpC == PPC::SPILL_CR) { 593 } else if (OpC == PPC::RESTORE_CR) { 596 } else if (OpC == PPC::SPILL_VRSAVE) { 599 } else if (OpC == PPC::RESTORE_VRSAVE) { 613 bool noImmForm = !MI.isInlineAsm() && !ImmToIdxMap.count(OpC); [all...] |
PPCISelDAGToDAG.cpp | 327 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) { 328 return N->getOpcode() == Opc 474 unsigned Opc; 503 Opc = PPC::CMPLW; 508 Opc = PPC::CMPLW; 515 Opc = PPC::CMPW; 546 Opc = PPC::CMPLD; 551 Opc = PPC::CMPLD; 558 Opc = PPC::CMPD; 561 Opc = PPC::FCMPUS [all...] |
PPCInstrInfo.cpp | 534 unsigned Opc; 536 Opc = PPC::OR; 538 Opc = PPC::OR8; 540 Opc = PPC::FMR; 542 Opc = PPC::MCRF; 544 Opc = PPC::VOR; 546 Opc = PPC::CROR; 550 const MCInstrDesc &MCID = get(Opc); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 34 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo)); 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)); [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 544 static Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0, 553 if (Opc == Instruction::And && DL) { 577 if (Opc == Instruction::Sub && DL) { [all...] |
ValueTracking.cpp | [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...] |
/external/llvm/lib/Analysis/IPA/ |
InlineCost.cpp | 258 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 259 if (!OpC) 261 OpC = dyn_cast<ConstantInt>(SimpleOp); 262 if (!OpC) 264 if (OpC->isZero()) continue; 268 unsigned ElementIdx = OpC->getZExtValue(); 275 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; [all...] |
/external/llvm/lib/Target/X86/ |
X86FastISel.cpp | 87 bool X86FastEmitExtend(ISD::NodeType Opc, EVT DstVT, unsigned Src, EVT SrcVT, 182 unsigned Opc = 0; 188 Opc = X86::MOV8rm; 192 Opc = X86::MOV16rm; 196 Opc = X86::MOV32rm; 201 Opc = X86::MOV64rm; 206 Opc = Subtarget->hasAVX() ? X86::VMOVSSrm : X86::MOVSSrm; 209 Opc = X86::LD_Fp32m; 215 Opc = Subtarget->hasAVX() ? X86::VMOVSDrm : X86::MOVSDrm; 218 Opc = X86::LD_Fp64m [all...] |