/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
PPCRegisterInfo.cpp | 529 unsigned OpC = MI.getOpcode(); 533 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) { 540 if (OpC == PPC::SPILL_CR) { 554 switch (OpC) { 615 if (OpC != TargetOpcode::INLINEASM) { 616 assert(ImmToIdxMap.count(OpC) && 618 unsigned NewOpcode = ImmToIdxMap.find(OpC)->second;
|
PPCISelDAGToDAG.cpp | 305 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) { 306 return N->getOpcode() == Opc 449 unsigned Opc; 478 Opc = PPC::CMPLW; 483 Opc = PPC::CMPLW; 490 Opc = PPC::CMPW; 521 Opc = PPC::CMPLD; 526 Opc = PPC::CMPLD; 533 Opc = PPC::CMPD; 536 Opc = PPC::FCMPUS [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
GlobalDCE.cpp | 197 if (Constant *OpC = dyn_cast<Constant>(*I)) 198 MarkUsedGlobalsAsNeeded(OpC);
|
/external/swiftshader/third_party/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...] |
InstCombineAddSub.cpp | 419 if (ConstantInt *OpC = dyn_cast<ConstantInt>(Op)) { 420 if (OpC->isZero()) continue; 424 Size = TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); 434 ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
|
/external/llvm/lib/Analysis/ |
InlineCost.cpp | 313 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 314 if (!OpC) 316 OpC = dyn_cast<ConstantInt>(SimpleOp); 317 if (!OpC) 319 if (OpC->isZero()) 324 unsigned ElementIdx = OpC->getZExtValue(); 331 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; [all...] |
ValueTracking.cpp | [all...] |
ConstantFolding.cpp | 638 Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0, Constant *Op1, 646 if (Opc == Instruction::And) { 670 if (Opc == Instruction::Sub) { [all...] |
ScalarEvolution.cpp | [all...] |
/external/swiftshader/third_party/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 | 914 if (SIToFPInst *OpC = dyn_cast<SIToFPInst>(Op)) { 915 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() <= 32) 916 LdExpArg = B.CreateSExt(OpC->getOperand(0), B.getInt32Ty()); 917 } else if (UIToFPInst *OpC = dyn_cast<UIToFPInst>(Op)) { 918 if (OpC->getOperand(0)->getType()->getPrimitiveSizeInBits() < 32 [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/Target/Hexagon/ |
HexagonStoreWidening.cpp | 114 unsigned OpC = MI->getOpcode(); 117 switch (OpC) { 153 unsigned Opc = MI->getOpcode(); 154 switch (Opc) {
|
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 49 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); 50 if (!OpC) 52 if (OpC->isZero()) continue; // No offset. 56 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); 63 Offset += Size*OpC->getSExtValue(); [all...] |
SROA.cpp | 691 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 692 if (!OpC) 697 unsigned ElementIdx = OpC->getZExtValue(); 704 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth()); [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ValueTracking.cpp | [all...] |
ConstantFolding.cpp | 515 static Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0, 526 if (Opc == Instruction::Sub && TD) { [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
X86FastISel.cpp | 86 bool X86FastEmitExtend(ISD::NodeType Opc, EVT DstVT, unsigned Src, EVT SrcVT, 179 unsigned Opc = 0; 185 Opc = X86::MOV8rm; 189 Opc = X86::MOV16rm; 193 Opc = X86::MOV32rm; 198 Opc = X86::MOV64rm; 203 Opc = Subtarget->hasAVX() ? X86::VMOVSSrm : X86::MOVSSrm; 206 Opc = X86::LD_Fp32m; 212 Opc = Subtarget->hasAVX() ? X86::VMOVSDrm : X86::MOVSDrm; 215 Opc = X86::LD_Fp64m [all...] |
/external/llvm/lib/CodeGen/ |
TargetInstrInfo.cpp | 699 MachineOperand &OpC = Root.getOperand(0); 705 unsigned RegC = OpC.getReg(); [all...] |
/external/llvm/lib/IR/ |
Verifier.cpp | [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceTargetLoweringMIPS32.cpp | 286 auto *OpC = Func->makeVariable(typeElementType(Cond->getType())); 287 Context.insert<InstExtractElement>(OpC, Cond, Index); 294 Context.insert<InstSelect>(Dst, OpC, OpT, OpF); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | 341 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { 342 ID.AddInteger(OpC); 371 static void AddNodeIDNode(FoldingSetNodeID &ID, unsigned short OpC, 373 AddNodeIDOpcode(ID, OpC); [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | 316 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { 317 ID.AddInteger(OpC); 347 unsigned short OpC, SDVTList VTList, 349 AddNodeIDOpcode(ID, OpC); [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelDAGToDAG.cpp | 451 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) { 452 return N->getOpcode() == Opc 460 unsigned Opc = N->getValueType(0) == MVT::i32 ? PPC::ADDI : PPC::ADDI8; 462 CurDAG->SelectNodeTo(SN, Opc, N->getValueType(0), TFI, 465 ReplaceNode(SN, CurDAG->getMachineNode(Opc, dl, N->getValueType(0), TFI, 721 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8; 722 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi)); [all...] |