Lines Matching refs:MergedTy
71 StructType *MergedTy = StructType::create(LLVMCtxt, "struct.__GPUBuffer"); in runOnModule() local
72 MergedTy->setBody(Tys, false); in runOnModule()
76 const uint64_t BufferSize = DL.getTypeAllocSize(MergedTy); in runOnModule()
81 : static_cast<Type *>(MergedTy); in runOnModule()
92 CreateInitFunction(LLVMCtxt, M, MergedGV, MergedTy, BufferSize, Globals); in runOnModule()
100 auto InstMaker = [forCPU, MergedGV, MergedTy, in runOnModule()
106 Base = new BitCastInst(Load, PointerType::getUnqual(MergedTy), "", in runOnModule()
111 MergedTy, Base, Idx, "", InsertBefore); in runOnModule()
174 StructType *MergedTy, const uint64_t BufferSize, in CreateInitFunction() argument
183 Constant *MergedInitializer = ConstantStruct::get(MergedTy, ArrInit); in CreateInitFunction()
185 new GlobalVariable(M, MergedTy, true, GlobalValue::InternalLinkage, in CreateInitFunction()