Home | History | Annotate | Download | only in gpu

Lines Matching defs:function

22 #include "llvm/IR/Function.h"
46 llvm::Function* IrEmitterNested::EmitBasePointersForNestedComputation(
76 llvm::Function* function = llvm::Function::Create(
77 function_type, // The function type.
81 nested_computation.name()))), // The name of the function.
87 function->addDereferenceableAttr(arg_no + 1, arg_size);
95 llvm::BasicBlock::Create(function->getContext(), "entry", function);
99 llvm::ReturnInst::Create(function->getContext(), entry_bb));
109 return function;