Lines Matching refs:Function
16 #include "llvm/IR/Function.h"
157 const Function *func = arg->getParent();
171 const Function *func = arg->getParent();
185 const Function *func = arg->getParent();
216 bool llvm::getMaxNTIDx(const Function &F, unsigned &x) {
222 bool llvm::getMaxNTIDy(const Function &F, unsigned &y) {
228 bool llvm::getMaxNTIDz(const Function &F, unsigned &z) {
234 bool llvm::getReqNTIDx(const Function &F, unsigned &x) {
240 bool llvm::getReqNTIDy(const Function &F, unsigned &y) {
246 bool llvm::getReqNTIDz(const Function &F, unsigned &z) {
252 bool llvm::getMinCTASm(const Function &F, unsigned &x) {
258 bool llvm::isKernelFunction(const Function &F) {
273 bool llvm::getAlign(const Function &F, unsigned index, unsigned &align) {
422 Function *llvm::getParentFunction(Value *v) {
423 if (Function *F = dyn_cast<Function>(v))
437 Function *F = getParentFunction(v);
441 for (Function::iterator it = F->begin(), ie = F->end(); it != ie; ++it) {
452 Function *F = getParentFunction(base);
498 // Dump the parent for Instruction, block or function
510 if (Function *F = dyn_cast<Function>(v)) {