Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h457 const ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in getGEPCost() local
458 if (!ConstIdx) in getGEPCost()
460 ConstIdx = dyn_cast<ConstantInt>(Splat); in getGEPCost()
463 if (ConstIdx) in getGEPCost()
464 BaseOffset += ConstIdx->getSExtValue() * ElementSize; in getGEPCost()
475 assert(ConstIdx && "Unexpected GEP index"); in getGEPCost()
476 uint64_t Field = ConstIdx->getZExtValue(); in getGEPCost()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h727 const ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in getGEPCost() local
728 if (!ConstIdx) in getGEPCost()
730 ConstIdx = dyn_cast<ConstantInt>(Splat); in getGEPCost()
733 assert(ConstIdx && "Unexpected GEP index"); in getGEPCost()
734 uint64_t Field = ConstIdx->getZExtValue(); in getGEPCost()
738 if (ConstIdx) { in getGEPCost()
740 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp269 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in hasOnlyOneNonZeroIndex() local
270 if (ConstIdx == nullptr || !ConstIdx->isZero()) in hasOnlyOneNonZeroIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp305 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in hasOnlyOneNonZeroIndex() local
306 if (ConstIdx == nullptr || !ConstIdx->isZero()) in hasOnlyOneNonZeroIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp939 if (ConstantSDNode *ConstIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_SUBVECTOR() local
940 unsigned IdxVal = ConstIdx->getZExtValue(); in SplitVecRes_INSERT_SUBVECTOR()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp864 if (ConstantSDNode *ConstIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_SUBVECTOR() local
865 unsigned IdxVal = ConstIdx->getZExtValue(); in SplitVecRes_INSERT_SUBVECTOR()