Lines Matching refs:Create
123 // Create initializer for the images array.
194 Function::Create(FuncTy, GlobalValue::InternalLinkage,
205 IRBuilder<> Builder(BasicBlock::Create(C, "entry", Func));
216 auto *Func = Function::Create(FuncTy, GlobalValue::InternalLinkage,
233 IRBuilder<> Builder(BasicBlock::Create(C, "entry", Func));
272 // Create the global string containing the fatbinary.
282 // Create the fatbinary wrapper
305 /// Create the register globals function. We will iterate all of the offloading
377 Function::Create(RegGlobalsTy, GlobalValue::InternalLinkage,
381 // Create the loop to register all the entries.
382 IRBuilder<> Builder(BasicBlock::Create(C, "entry", RegGlobalsFn));
383 auto *EntryBB = BasicBlock::Create(C, "while.entry", RegGlobalsFn);
384 auto *IfThenBB = BasicBlock::Create(C, "if.then", RegGlobalsFn);
385 auto *IfElseBB = BasicBlock::Create(C, "if.else", RegGlobalsFn);
386 auto *SwGlobalBB = BasicBlock::Create(C, "sw.global", RegGlobalsFn);
387 auto *SwManagedBB = BasicBlock::Create(C, "sw.managed", RegGlobalsFn);
388 auto *SwSurfaceBB = BasicBlock::Create(C, "sw.surface", RegGlobalsFn);
389 auto *SwTextureBB = BasicBlock::Create(C, "sw.texture", RegGlobalsFn);
390 auto *IfEndBB = BasicBlock::Create(C, "if.end", RegGlobalsFn);
391 auto *ExitBB = BasicBlock::Create(C, "while.end", RegGlobalsFn);
445 // Create kernel registration code.
458 // Create global variable registration code.
467 // Create managed variable registration code.
472 // Create surface variable registration code.
481 // Create texture variable registration code.
513 // Create the constructor and destructor to register the fatbinary with the CUDA
521 auto *CtorFunc = Function::Create(
527 auto *DtorFunc = Function::Create(
559 // Create the constructor to register this image with the runtime.
560 IRBuilder<> CtorBuilder(BasicBlock::Create(C, "entry", CtorFunc));
576 // Create the destructor to unregister the image with the runtime. We cannot
579 IRBuilder<> DtorBuilder(BasicBlock::Create(C, "entry", DtorFunc));