Home
last modified time | relevance | path

Searched refs:IndexTy (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DParallel.h95 template <class IndexTy, class FuncTy>
96 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { in parallel_for_each_n()
168 template <class IndexTy, class FuncTy>
169 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { in parallel_for_each_n()
175 IndexTy I = Begin; in parallel_for_each_n()
178 for (IndexTy J = I, E = I + TaskSize; J != E; ++J) in parallel_for_each_n()
182 for (IndexTy J = I; J < End; ++J) in parallel_for_each_n()
213 template <class Policy, class IndexTy, class FuncTy>
214 void for_each_n(Policy policy, IndexTy Begin, IndexTy End, FuncTy Fn) { in for_each_n()
217 for (IndexTy I = Begin; I != End; ++I) in for_each_n()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h271 void constructSubrangeDIE(DIE &Buffer, DISubrange SR, DIE *IndexTy);
DDwarfCompileUnit.cpp1121 void CompileUnit::constructSubrangeDIE(DIE &Buffer, DISubrange SR, DIE *IndexTy){ in constructSubrangeDIE() argument
1123 addDIEEntry(DW_Subrange, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IndexTy); in constructSubrangeDIE()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1053 Type *IndexTy = DL.getIndexType(PtrTy); in FindElementAtOffset() local
1068 NewIndices.push_back(ConstantInt::get(IndexTy, FirstIdx)); in FindElementAtOffset()
1090 NewIndices.push_back(ConstantInt::get(IndexTy,Offset/EltSize)); in FindElementAtOffset()
1464 Type *IndexTy = (*I)->getType(); in visitGetElementPtrInst() local
1466 IndexTy->isVectorTy() in visitGetElementPtrInst()
1467 ? VectorType::get(NewScalarIndexTy, IndexTy->getVectorNumElements()) in visitGetElementPtrInst()
1479 if (IndexTy != NewIndexType) { in visitGetElementPtrInst()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h338 void constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, DIE *IndexTy);
DDwarfUnit.cpp1266 DIE *IndexTy) { in constructSubrangeDIE() argument
1268 addDIEEntry(DW_Subrange, dwarf::DW_AT_type, *IndexTy); in constructSubrangeDIE()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h346 void constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, DIE *IndexTy);
DDwarfUnit.cpp1373 DIE *IndexTy) { in constructSubrangeDIE() argument
1375 addDIEEntry(DW_Subrange, dwarf::DW_AT_type, *IndexTy); in constructSubrangeDIE()
/external/llvm/lib/IR/
DConstantFold.cpp2000 template<typename IndexTy>
2001 static bool isInBoundsIndices(ArrayRef<IndexTy> Idxs) { in isInBoundsIndices()
2049 template<typename IndexTy>
2052 ArrayRef<IndexTy> Idxs) { in ConstantFoldGetElementPtrImpl()
DVerifier.cpp2902 Type *IndexTy = Idx->getType(); in visitGetElementPtrInst() local
2903 if (IndexTy->isVectorTy()) { in visitGetElementPtrInst()
2904 unsigned IndexWidth = IndexTy->getVectorNumElements(); in visitGetElementPtrInst()
2907 Assert(IndexTy->getScalarType()->isIntegerTy(), in visitGetElementPtrInst()
DInstructions.cpp1670 template <typename IndexTy>
1671 static Type *getIndexedTypeInternal(Type *Agg, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal()
1685 IndexTy Index = IdxList[CurIdx]; in getIndexedTypeInternal()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp2151 template<typename IndexTy>
2152 static bool isInBoundsIndices(ArrayRef<IndexTy> Idxs) { in isInBoundsIndices()
2169 template<typename IndexTy>
2172 ArrayRef<IndexTy> Idxs) { in ConstantFoldGetElementPtrImpl()
DInstructions.cpp1360 template <typename IndexTy>
1361 static Type *getIndexedTypeInternal(Type *Ptr, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal()
1379 IndexTy Index = IdxList[CurIdx]; in getIndexedTypeInternal()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1352 Type *IndexTy = (*I)->getType(); in visitGetElementPtrInst() local
1353 Type *NewIndexType = IndexTy->isVectorTy() ? in visitGetElementPtrInst()
1354 VectorType::get(IntPtrTy, IndexTy->getVectorNumElements()) : IntPtrTy; in visitGetElementPtrInst()
1365 if (IndexTy != NewIndexType) { in visitGetElementPtrInst()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp2322 llvm::Type *IndexTy = Int32Ty; in GenerateClass() local
2324 llvm::ConstantInt::get(IndexTy, 1), nullptr, in GenerateClass()
2325 llvm::ConstantInt::get(IndexTy, 2) }; in GenerateClass()
2332 offsetPointerIndexes[2] = llvm::ConstantInt::get(IndexTy, ivarIndex); in GenerateClass()
DTargetInfo.cpp5960 llvm::Type *IndexTy = CGF.Int64Ty; in EmitVAArg() local
5962 llvm::ConstantInt::get(IndexTy, PaddedSize.getQuantity()); in EmitVAArg()
6006 llvm::Value *MaxRegsV = llvm::ConstantInt::get(IndexTy, MaxRegs); in EmitVAArg()
6022 llvm::ConstantInt::get(IndexTy, RegSaveIndex * PaddedSize.getQuantity() in EmitVAArg()
6038 llvm::Value *One = llvm::ConstantInt::get(IndexTy, 1); in EmitVAArg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp3125 Type *IndexTy = Idx->getType(); in visitGetElementPtrInst() local
3126 if (IndexTy->isVectorTy()) { in visitGetElementPtrInst()
3127 unsigned IndexWidth = IndexTy->getVectorNumElements(); in visitGetElementPtrInst()
3130 Assert(IndexTy->isIntOrIntVectorTy(), in visitGetElementPtrInst()
DConstantFold.cpp2025 template<typename IndexTy>
2026 static bool isInBoundsIndices(ArrayRef<IndexTy> Idxs) { in isInBoundsIndices()
DInstructions.cpp1432 template <typename IndexTy>
1433 static Type *getIndexedTypeInternal(Type *Agg, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal()
1447 IndexTy Index = IdxList[CurIdx]; in getIndexedTypeInternal()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7130 EVT IndexTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in visitTRUNCATE() local
7136 DAG.getConstant(Index, DL, IndexTy)); in visitTRUNCATE()
12429 EVT IndexTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in visitEXTRACT_VECTOR_ELT() local
12431 DAG.getConstant(OrigElt, SDLoc(SVOp), IndexTy)); in visitEXTRACT_VECTOR_ELT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp9433 EVT IndexTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in visitTRUNCATE() local
9439 DAG.getConstant(Index, DL, IndexTy)); in visitTRUNCATE()
15237 EVT IndexTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in visitEXTRACT_VECTOR_ELT() local
15239 DAG.getConstant(OrigElt, SDLoc(SVOp), IndexTy)); in visitEXTRACT_VECTOR_ELT()