Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DParallel.h146 template <class IndexTy, class FuncTy>
147 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { in parallel_for_each_n()
153 IndexTy I = Begin; in parallel_for_each_n()
156 for (IndexTy J = I, E = I + TaskSize; J != E; ++J) in parallel_for_each_n()
160 for (IndexTy J = I; J < End; ++J) in parallel_for_each_n()
189 template <class Policy, class IndexTy, class FuncTy>
190 void for_each_n(Policy policy, IndexTy Begin, IndexTy End, FuncTy Fn) { in for_each_n()
193 for (IndexTy I = Begin; I != End; ++I) in for_each_n()
213 template <class IndexTy, class FuncTy>
214 void for_each_n(parallel_execution_policy policy, IndexTy Begin, IndexTy End, in for_each_n()
/external/llvm-project/llvm/include/llvm/Support/
DParallel.h146 template <class IndexTy, class FuncTy>
147 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { in parallel_for_each_n()
155 IndexTy I = Begin; in parallel_for_each_n()
158 for (IndexTy J = I, E = I + TaskSize; J != E; ++J) in parallel_for_each_n()
162 for (IndexTy J = I; J < End; ++J) in parallel_for_each_n()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h301 void constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, DIE *IndexTy);
303 DIE *IndexTy);
DDwarfUnit.cpp1278 DIE *IndexTy) { in constructSubrangeDIE() argument
1280 addDIEEntry(DW_Subrange, dwarf::DW_AT_type, *IndexTy); in constructSubrangeDIE()
1324 DIE *IndexTy) { in constructGenericSubrangeDIE() argument
1327 addDIEEntry(DwGenericSubrange, dwarf::DW_AT_type, *IndexTy); in constructGenericSubrangeDIE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h312 void constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, DIE *IndexTy);
DDwarfUnit.cpp1328 DIE *IndexTy) { in constructSubrangeDIE() argument
1330 addDIEEntry(DW_Subrange, dwarf::DW_AT_type, *IndexTy); in constructSubrangeDIE()
/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-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1133 Type *IndexTy = DL.getIndexType(PtrTy); in FindElementAtOffset() local
1148 NewIndices.push_back(ConstantInt::get(IndexTy, FirstIdx)); in FindElementAtOffset()
1170 NewIndices.push_back(ConstantInt::get(IndexTy,Offset/EltSize)); in FindElementAtOffset()
1703 Type *IndexTy = (*I)->getType(); in visitGetElementPtrInst() local
1705 IndexTy->isVectorTy() in visitGetElementPtrInst()
1706 ? VectorType::get(NewScalarIndexTy, IndexTy->getVectorNumElements()) in visitGetElementPtrInst()
1718 if (IndexTy != NewIndexType) { in visitGetElementPtrInst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1216 Type *IndexTy = DL.getIndexType(PtrTy); in FindElementAtOffset() local
1231 NewIndices.push_back(ConstantInt::get(IndexTy, FirstIdx)); in FindElementAtOffset()
1253 NewIndices.push_back(ConstantInt::get(IndexTy,Offset/EltSize)); in FindElementAtOffset()
1872 Type *IndexTy = (*I)->getType(); in visitGetElementPtrInst() local
1874 IndexTy->isVectorTy() in visitGetElementPtrInst()
1876 cast<VectorType>(IndexTy)->getElementCount()) in visitGetElementPtrInst()
1888 if (IndexTy != NewIndexType) { in visitGetElementPtrInst()
/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/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/llvm-project/clang/lib/CodeGen/
DCGObjCGNU.cpp3551 llvm::Type *IndexTy = Int32Ty; in GenerateClass() local
3553 llvm::ConstantInt::get(IndexTy, ClassABIVersion > 1 ? 2 : 1), nullptr, in GenerateClass()
3554 llvm::ConstantInt::get(IndexTy, ClassABIVersion > 1 ? 3 : 2) }; in GenerateClass()
3560 offsetPointerIndexes[2] = llvm::ConstantInt::get(IndexTy, ivarIndex); in GenerateClass()
DTargetInfo.cpp7359 llvm::Type *IndexTy = CGF.Int64Ty; in EmitVAArg() local
7361 llvm::ConstantInt::get(IndexTy, PaddedSize.getQuantity()); in EmitVAArg()
7403 llvm::Value *MaxRegsV = llvm::ConstantInt::get(IndexTy, MaxRegs); in EmitVAArg()
7419 llvm::ConstantInt::get(IndexTy, RegSaveIndex * PaddedSize.getQuantity() in EmitVAArg()
7434 llvm::Value *One = llvm::ConstantInt::get(IndexTy, 1); in EmitVAArg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp2146 template<typename IndexTy>
2147 static bool isInBoundsIndices(ArrayRef<IndexTy> Idxs) { in isInBoundsIndices()
DVerifier.cpp3329 Type *IndexTy = Idx->getType(); in visitGetElementPtrInst() local
3330 if (IndexTy->isVectorTy()) { in visitGetElementPtrInst()
3331 unsigned IndexWidth = IndexTy->getVectorNumElements(); in visitGetElementPtrInst()
3334 Assert(IndexTy->isIntOrIntVectorTy(), in visitGetElementPtrInst()
DInstructions.cpp1618 template <typename IndexTy>
1619 static Type *getIndexedTypeInternal(Type *Agg, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal()
1633 IndexTy Index = IdxList[CurIdx]; in getIndexedTypeInternal()
/external/llvm-project/llvm/lib/IR/
DConstantFold.cpp2290 template<typename IndexTy>
2291 static bool isInBoundsIndices(ArrayRef<IndexTy> Idxs) { in isInBoundsIndices()
DInstructions.cpp1725 template <typename IndexTy>
1726 static Type *getIndexedTypeInternal(Type *Ty, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal()
1729 for (IndexTy V : IdxList.slice(1)) { in getIndexedTypeInternal()
DVerifier.cpp3514 Type *IndexTy = Idx->getType(); in visitGetElementPtrInst() local
3515 if (auto *IndexVTy = dyn_cast<VectorType>(IndexTy)) { in visitGetElementPtrInst()
3519 Assert(IndexTy->isIntOrIntVectorTy(), in visitGetElementPtrInst()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5383 auto *IndexTy = FixedVectorType::get(ScalarIndexTy, NumElts); in optimizeGatherScatterInst() local
5384 NewAddr = Builder.CreateGEP(NewAddr, Constant::getNullValue(IndexTy)); in optimizeGatherScatterInst()
5412 auto *IndexTy = FixedVectorType::get(ScalarIndexTy, NumElts); in optimizeGatherScatterInst() local
5413 NewAddr = Builder.CreateGEP(V, Constant::getNullValue(IndexTy)); in optimizeGatherScatterInst()

12