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

1 2 3

  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/Utils/
Local.h 49 if (Constant *OpC = dyn_cast<Constant>(Op)) {
50 if (OpC->isZeroValue())
55 if (OpC->getType()->isVectorTy())
56 OpC = OpC->getSplatValue();
58 uint64_t OpValue = cast<ConstantInt>(OpC)->getZExtValue();
68 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
  /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());
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Operator.cpp 43 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
44 if (!OpC)
46 if (OpC->isZero())
51 unsigned ElementIdx = OpC->getZExtValue();
58 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
  /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))
  /external/llvm/include/llvm/Transforms/Utils/
Local.h 207 if (Constant *OpC = dyn_cast<Constant>(Op)) {
208 if (OpC->isZeroValue())
213 if (OpC->getType()->isVectorTy())
214 OpC = OpC->getSplatValue();
216 uint64_t OpValue = cast<ConstantInt>(OpC)->getZExtValue();
226 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUAnnotateKernelFeatures.cpp 129 const auto *OpC = dyn_cast<Constant>(U);
130 if (!OpC)
133 if (!ConstantExprVisited.insert(OpC).second)
136 Stack.push_back(OpC);
272 const auto *OpC = dyn_cast<Constant>(U);
273 if (!OpC)
276 if (visitConstantExprsRecursively(OpC, ConstantExprVisited, AS)) {
  /external/swiftshader/third_party/LLVM/include/llvm/
Operator.h 147 static bool isPossiblyExactOpcode(unsigned OpC) {
148 return OpC == Instruction::SDiv ||
149 OpC == Instruction::UDiv ||
150 OpC == Instruction::AShr ||
151 OpC == Instruction::LShr;
169 template<typename SuperClass, unsigned Opc>
173 static inline bool classof(const ConcreteOperator<SuperClass, Opc> *) {
177 return I->getOpcode() == Opc;
180 return CE->getOpcode() == Opc;
  /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...]
PPCInstrInfo.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
PPCRegisterInfo.cpp 827 unsigned OpC = MI.getOpcode();
829 switch (OpC) {
    [all...]
PPCInstrInfo.cpp     [all...]
  /external/llvm/include/llvm/IR/
Operator.h 145 static bool isPossiblyExactOpcode(unsigned OpC) {
146 return OpC == Instruction::SDiv ||
147 OpC == Instruction::UDiv ||
148 OpC == Instruction::AShr ||
149 OpC == Instruction::LShr;
318 template<typename SuperClass, unsigned Opc>
322 return I->getOpcode() == Opc;
325 return CE->getOpcode() == Opc;
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
Operator.h 140 static bool isPossiblyExactOpcode(unsigned OpC) {
141 return OpC == Instruction::SDiv ||
142 OpC == Instruction::UDiv ||
143 OpC == Instruction::AShr ||
144 OpC == Instruction::LShr;
384 template<typename SuperClass, unsigned Opc>
388 return I->getOpcode() == Opc;
391 return CE->getOpcode() == Opc;
  /external/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp     [all...]
  /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;
  /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...]
  /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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
ConstantFolding.cpp 686 Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0, Constant *Op1,
694 if (Opc == Instruction::And) {
714 if (Opc == Instruction::Sub) {
    [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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
HexagonStoreWidening.cpp 129 unsigned OpC = MI->getOpcode();
132 switch (OpC) {
156 unsigned Opc = MI->getOpcode();
157 switch (Opc) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp     [all...]

Completed in 1136 milliseconds

1 2 3