Lines Matching refs:Function
33 #include "llvm/IR/Function.h"
121 // @TODO: This is a copy from AsmPrinter.cpp. The function is static, so we
183 // blockaddress labels. Since the two labels are in the same function, it
312 void NVPTXAsmPrinter::printReturnValStr(const Function *F,
403 const Function *F = MF.getFunction();
454 NVPTXAsmPrinter::emitKernelFunctionDirectives(const Function& F,
686 void NVPTXAsmPrinter::emitDeclaration (const Function *F, raw_ostream &O) {
719 static bool usedInOneFunc(const User *U, Function const *&oneFunc)
728 const Function *curFunc = instr->getParent()->getParent();
757 * 3. Is the global variable referenced only in one function?
759 static bool canDemoteGlobalVar(const GlobalVariable *gv, Function const *&f) {
766 const Function *oneFunc = 0;
778 llvm::DenseMap<const Function *, bool> &seenMap) {
787 const Function *caller = bb->getParent();
797 llvm::DenseMap<const Function *, bool> seenMap;
800 const Function *F = FI;
816 // that is a function pointer, so print a declaration
817 // for the original function
822 // Emit a declaration of this function if the function that
835 const Function *caller = bb->getParent();
1025 // This function emits appropriate linkage directives for
1028 // extern function declaration -> .extern
1029 // extern function definition -> .visible
1159 const Function *demotedFunc = 0;
1267 void NVPTXAsmPrinter::emitDemotedVars(const Function *f, raw_ostream &O) {
1432 void NVPTXAsmPrinter::printParamName(Function::const_arg_iterator I,
1451 Function::const_arg_iterator I, E;
1469 void NVPTXAsmPrinter::emitFunctionParamList(const Function *F,
1474 Function::const_arg_iterator I, E;
1544 // Non-kernel function, just print .param .b<size> for ABI
1619 const Function *F = MF.getFunction();