Searched refs:GEPIdx (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUSwLowerLDS.cpp | 562 Constant *GEPIdx[] = {ConstantInt::get(Int32Ty, Indices[0]), in replaceKernelLDSAccesses() local 566 SwLDSMetadataStructType, SwLDSMetadata, GEPIdx, true); in replaceKernelLDSAccesses() 975 Constant *GEPIdx[] = {ConstantInt::get(Int32Ty, Indices[0]), in getAddressesOfVariablesInKernel() local 979 SwLDSMetadata, GEPIdx, true); in getAddressesOfVariablesInKernel() 1003 Constant *GEPIdx[] = {ConstantInt::get(Int32Ty, 0)}; in buildNonKernelLDSBaseTable() local 1005 ConstantExpr::getGetElementPtr(SwLDS->getType(), SwLDS, GEPIdx, true); in buildNonKernelLDSBaseTable()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 392 SmallVector<Value *, 3> GEPIdx = { in replaceUseWithTableLookup() local 397 GEPIdx.push_back(OptionalIndex); in replaceUseWithTableLookup() 400 LookupTable->getValueType(), LookupTable, GEPIdx, GV->getName()); in replaceUseWithTableLookup() 1371 Constant *GEPIdx[] = {ConstantInt::get(I32, 0), ConstantInt::get(I32, I)}; in createLDSVariableReplacement() local 1372 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx, true); in createLDSVariableReplacement()
|
| H A D | AMDGPUPromoteAlloca.cpp | 387 Value *Ptr, const std::map<GetElementPtrInst *, WeakTrackingVH> &GEPIdx) { in calculateVectorIndex() argument 392 auto I = GEPIdx.find(GEP); in calculateVectorIndex() 393 assert(I != GEPIdx.end() && "Must have entry for GEP!"); in calculateVectorIndex()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 2473 Constant *GEPIdx = ConstantInt::get(Type::getInt32Ty(Ty->getContext()), 1); in getSizeOf() local 2476 GEPIdx); in getSizeOf()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 5257 SmallVector<Value*, 16> GEPIdx; in parseFunctionBody() local 5263 GEPIdx.push_back(Op); in parseFunctionBody() 5266 auto *GEP = GetElementPtrInst::Create(Ty, BasePtr, GEPIdx); in parseFunctionBody()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 24670 auto *GEPIdx = GEP->idx_begin()->get(); in vectorizeGEPIndices() local 24671 assert(GEP->getNumIndices() == 1 && !isa<Constant>(GEPIdx)); in vectorizeGEPIndices() 24672 Bundle[BundleIndex++] = GEPIdx; in vectorizeGEPIndices()
|