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

  /external/llvm/lib/IR/
Operator.cpp 29 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
30 if (!OpC)
32 if (OpC->isZero())
37 unsigned ElementIdx = OpC->getZExtValue();
44 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
Verifier.cpp     [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPUAnnotateKernelFeatures.cpp 102 const auto *OpC = dyn_cast<Constant>(U);
103 if (!OpC)
106 if (!ConstantExprVisited.insert(OpC).second)
109 Stack.push_back(OpC);
128 const auto *OpC = dyn_cast<Constant>(U);
129 if (!OpC)
132 if (visitConstantExprsRecursively(OpC, ConstantExprVisited))
  /frameworks/compile/libbcc/lib/
RSX86TranslateGEPPass.cpp 76 llvm::ConstantInt *OpC = llvm::dyn_cast<llvm::ConstantInt>(GTI.getOperand());
77 if (!OpC) {
84 unsigned EltOffset = SL->getElementOffset(OpC->getZExtValue());
  /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/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/PowerPC/
PPCRegisterInfo.cpp 747 unsigned OpC = MI.getOpcode();
749 switch (OpC) {
803 unsigned OpC = MI.getOpcode();
805 if ((OpC == PPC::DYNAREAOFFSET || OpC == PPC::DYNAREAOFFSET8)) {
812 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) {
818 if (OpC == PPC::SPILL_CR) {
821 } else if (OpC == PPC::RESTORE_CR) {
824 } else if (OpC == PPC::SPILL_CRBIT)
    [all...]
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...]
  /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/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...]
  /external/llvm/lib/Target/Hexagon/
HexagonStoreWidening.cpp 114 unsigned OpC = MI->getOpcode();
117 switch (OpC) {
153 unsigned Opc = MI->getOpcode();
154 switch (Opc) {
  /external/swiftshader/third_party/LLVM/lib/Analysis/
ConstantFolding.cpp 515 static Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0,
526 if (Opc == Instruction::Sub && TD) {
    [all...]
ValueTracking.cpp     [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 638 Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0, Constant *Op1,
646 if (Opc == Instruction::And) {
670 if (Opc == Instruction::Sub) {
    [all...]
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...]
  /external/llvm/lib/CodeGen/
TargetInstrInfo.cpp 699 MachineOperand &OpC = Root.getOperand(0);
705 unsigned RegC = OpC.getReg();
    [all...]
  /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...]
  /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/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...]

Completed in 517 milliseconds