Home
last modified time | relevance | path

Searched refs:ConstIdx (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h773 const ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in getGEPCost() local
774 if (!ConstIdx) in getGEPCost()
776 ConstIdx = dyn_cast<ConstantInt>(Splat); in getGEPCost()
779 assert(ConstIdx && "Unexpected GEP index"); in getGEPCost()
780 uint64_t Field = ConstIdx->getZExtValue(); in getGEPCost()
784 if (ConstIdx) { in getGEPCost()
786 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp305 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in hasOnlyOneNonZeroIndex() local
306 if (ConstIdx == nullptr || !ConstIdx->isZero()) in hasOnlyOneNonZeroIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp1142 if (ConstantSDNode *ConstIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_SUBVECTOR() local
1143 unsigned IdxVal = ConstIdx->getZExtValue(); in SplitVecRes_INSERT_SUBVECTOR()