Lines Matching refs:get
119 auto *Zero = ConstantInt::get(getSizeTTy(M), 0u); in createBinDesc()
127 auto *Data = ConstantDataArray::get(C, Buf); in createBinDesc()
148 auto *Begin = ConstantInt::get(getSizeTTy(M), Entry->ImageOffset); in createBinDesc()
150 ConstantInt::get(getSizeTTy(M), Entry->ImageOffset + Entry->ImageSize); in createBinDesc()
159 ImagesInits.push_back(ConstantStruct::get(getDeviceImageTy(M), ImageB, in createBinDesc()
164 auto *ImagesData = ConstantArray::get( in createBinDesc()
165 ArrayType::get(getDeviceImageTy(M), ImagesInits.size()), ImagesInits); in createBinDesc()
177 auto *DescInit = ConstantStruct::get( in createBinDesc()
179 ConstantInt::get(Type::getInt32Ty(C), ImagesInits.size()), ImagesB, in createBinDesc()
190 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createRegisterFunction()
196 auto *RegFuncTy = FunctionType::get(Type::getVoidTy(C), getBinDescPtrTy(M), in createRegisterFunction()
218 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createUnregisterFunction()
225 auto *UnRegFuncTy = FunctionType::get(Type::getVoidTy(C), getBinDescPtrTy(M), in createUnregisterFunction()
268 auto *Data = ConstantDataArray::get(C, Image); in createFatbinDesc()
279 ConstantInt::get(Type::getInt32Ty(C), IsHIP ? HIPFatMagic : CudaFatMagic), in createFatbinDesc()
280 ConstantInt::get(Type::getInt32Ty(C), 1), in createFatbinDesc()
282 ConstantPointerNull::get(PointerType::getUnqual(C))}; in createFatbinDesc()
285 ConstantStruct::get(getFatbinWrapperTy(M), FatbinWrapper); in createFatbinDesc()
328 PointerType *Int8PtrTy = PointerType::get(C, 0); in createRegisterGlobalsFunction()
329 PointerType *Int8PtrPtrTy = PointerType::get(C, 0); in createRegisterGlobalsFunction()
330 PointerType *Int32PtrTy = PointerType::get(C, 0); in createRegisterGlobalsFunction()
331 auto *RegFuncTy = FunctionType::get( in createRegisterGlobalsFunction()
340 auto *RegVarTy = FunctionType::get( in createRegisterGlobalsFunction()
350 FunctionType::get(Type::getVoidTy(C), in createRegisterGlobalsFunction()
358 FunctionType *RegTextureTy = FunctionType::get( in createRegisterGlobalsFunction()
366 auto *RegGlobalsTy = FunctionType::get(Type::getVoidTy(C), Int8PtrPtrTy, in createRegisterGlobalsFunction()
391 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
392 ConstantInt::get(Type::getInt32Ty(C), 0)}); in createRegisterGlobalsFunction()
396 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
397 ConstantInt::get(Type::getInt32Ty(C), 1)}); in createRegisterGlobalsFunction()
401 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
402 ConstantInt::get(Type::getInt32Ty(C), 2)}); in createRegisterGlobalsFunction()
406 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
407 ConstantInt::get(Type::getInt32Ty(C), 3)}); in createRegisterGlobalsFunction()
411 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
412 ConstantInt::get(Type::getInt32Ty(C), 4)}); in createRegisterGlobalsFunction()
415 Flags, ConstantInt::get(Type::getInt32Ty(C), 0x7), "type"); in createRegisterGlobalsFunction()
419 Flags, ConstantInt::get(Type::getInt32Ty(C), in createRegisterGlobalsFunction()
422 ExternBit, ConstantInt::get(Type::getInt32Ty(C), 3), "extern"); in createRegisterGlobalsFunction()
424 Flags, ConstantInt::get(Type::getInt32Ty(C), in createRegisterGlobalsFunction()
427 ConstantBit, ConstantInt::get(Type::getInt32Ty(C), 4), "constant"); in createRegisterGlobalsFunction()
429 Flags, ConstantInt::get(Type::getInt32Ty(C), in createRegisterGlobalsFunction()
432 NormalizedBit, ConstantInt::get(Type::getInt32Ty(C), 5), "normalized"); in createRegisterGlobalsFunction()
440 ConstantInt::get(Type::getInt32Ty(C), -1), in createRegisterGlobalsFunction()
441 ConstantPointerNull::get(Int8PtrTy), in createRegisterGlobalsFunction()
442 ConstantPointerNull::get(Int8PtrTy), in createRegisterGlobalsFunction()
443 ConstantPointerNull::get(Int8PtrTy), in createRegisterGlobalsFunction()
444 ConstantPointerNull::get(Int8PtrTy), in createRegisterGlobalsFunction()
445 ConstantPointerNull::get(Int32PtrTy)}); in createRegisterGlobalsFunction()
454 Const, ConstantInt::get(Type::getInt32Ty(C), 0)}); in createRegisterGlobalsFunction()
484 offloading::getEntryTy(M), Entry, ConstantInt::get(getSizeTTy(M), 1)); in createRegisterGlobalsFunction()
488 ArrayType::get(offloading::getEntryTy(M), 0), EntriesE, in createRegisterGlobalsFunction()
489 ArrayRef<Constant *>({ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
490 ConstantInt::get(getSizeTTy(M), 0)}))); in createRegisterGlobalsFunction()
493 ArrayType::get(offloading::getEntryTy(M), 0), EntriesB, in createRegisterGlobalsFunction()
494 ArrayRef<Constant *>({ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
495 ConstantInt::get(getSizeTTy(M), 0)})), in createRegisterGlobalsFunction()
512 auto *CtorFuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createRegisterFatbinFunction()
518 auto *DtorFuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createRegisterFatbinFunction()
527 auto *RegFatTy = FunctionType::get(PtrTy, PtrTy, /*isVarArg=*/false); in createRegisterFatbinFunction()
532 FunctionType::get(Type::getVoidTy(C), PtrTy, /*isVarArg=*/false); in createRegisterFatbinFunction()
537 FunctionType::get(Type::getVoidTy(C), PtrTy, /*isVarArg=*/false); in createRegisterFatbinFunction()
543 FunctionType::get(Type::getInt32Ty(C), PtrTy, /*isVarArg=*/false); in createRegisterFatbinFunction()
548 llvm::ConstantPointerNull::get(PtrTy), in createRegisterFatbinFunction()