Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSwLowerLDS.cpp562 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 DAMDGPULowerModuleLDSPass.cpp392 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 DAMDGPUPromoteAlloca.cpp387 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 DConstants.cpp2473 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 DBitcodeReader.cpp5257 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 DSLPVectorizer.cpp24670 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()