Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Function

1 //===-- CodeGenFunction.h - Per-Function state for LLVM CodeGen -*- C++ -*-===//
10 // This is the internal per-function state used for llvm translation.
126 /// arbitrary position in a function.
543 /// CodeGenFunction - This class organizes the per-function state that is used
577 /// CurFuncDecl - Holds the Decl for the current function or ObjC method.
584 llvm::Function *CurFn;
586 /// CurGD - The GlobalDecl for the current function being compiled.
597 /// iff the function has no return value.
612 /// \brief Sanitizer options to use for this function.
669 /// A function to call to enter the catch.
1019 // always keeps them in memory. Expressions of function type
1188 /// CXXThisDecl - When generating code for a C++ member function,
1215 /// In the kernel metadata node, reference the kernel function and metadata
1225 llvm::Function *Fn);
1255 /// Returns a pointer to the function's exception object and selector slot,
1260 /// Returns the contents of the function's exception object and selector
1305 llvm::Function *generateDestroyHelper(llvm::Constant *addr,
1345 /// GenerateObjCGetter - Synthesize an Objective-C property getter function.
1356 /// GenerateObjCSetter - Synthesize an Objective-C property setter function
1378 llvm::Function *GenerateBlockFunction(GlobalDecl GD,
1409 void GenerateCode(GlobalDecl GD, llvm::Function *Fn,
1412 llvm::Function *Fn,
1433 /// FinishFunction - Complete IR generation of the current function. It is
1434 /// legal to call this function even if there is no current insertion point.
1438 void GenerateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo,
1441 void GenerateVarArgsThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo,
1480 /// ShouldInstrumentFunction - Return true if the current function should be
1485 /// instrumentation function with the current function and the call site, if
1486 /// function instrumentation is enabled.
1493 /// arguments for the given function. This is also responsible for naming the
1494 /// LLVM function arguments.
1496 llvm::Function *Fn,
1523 /// LoadObjCSelf - Load the value of self. This function is only valid while
1544 llvm::Function *parent = 0,
1564 /// necessary. It is legal to call this function even if there is no current
1578 /// blocks. It is legal to call this function even if there is no current
1581 /// This function clears the current insertion point. The caller should follow
1582 /// calls to this function with calls to Emit*Block prior to generation new
1593 /// emitted IR has a place to go. Note that by definition, if this function
1784 /// This function can be called with a null (unreachable) insert point.
1794 /// LoadCXXThis - Load the value of 'this'. This function is only valid while
1795 /// generating code for an C++ member function.
1797 assert(CXXThisValue && "no 'this' value for this function");
1806 assert(CXXStructorImplicitParamValue && "no VTT value for this function");
1814 "no implicit argument value for this function");
1826 /// GetAddressOfBaseClass - This function will add the necessary delta to the
1854 // It's important not to confuse this and the previous function. Delegating
1925 /// Checking the 'this' pointer for a call to a non-static member function.
1959 /// This function can be called with a null (unreachable) insert point.
1964 /// This function can be called with a null (unreachable) insert point.
1976 /// This function can be called with a null (unreachable) insert point.
2055 /// this function even if there is no current insertion point.
2057 /// This function may clear the current insertion point; callers should use
2077 /// function even if there is no current insertion point.
2315 /// EmitCall - Generate a call of the given function, expecting the given
2319 /// \param TargetDecl - If given, the decl of the function in a direct call;
2407 llvm::Value *EmitNeonCall(llvm::Function *F,
2568 /// Call atexit() with a function that passes the given argument to
2569 /// the given function.
2572 /// Emit code in this function to perform a guarded variable
2582 void GenerateCXXGlobalInitFunc(llvm::Function *Fn,
2588 void GenerateCXXGlobalDtorsFunc(llvm::Function *Fn,
2592 void GenerateCXXGlobalVarDeclInitFunc(llvm::Function *Fn,
2683 /// \brief Create a basic block that will call a handler function in a
2699 /// is, the current function is delegating to another one. Produce
2712 /// from function arguments into \arg Dst. See ABIArgInfo::Expand.
2714 /// \param AI - The first function argument of the expansion.
2715 /// \return The argument following the last expanded function
2717 llvm::Function::arg_iterator
2719 llvm::Function::arg_iterator AI);
2735 /// EmitCallArgs - Emit call arguments for a function.
2737 /// argument types of the function being called.
2774 // variadic function.
2776 "Extra arguments in non-variadic function!");