Lines Matching defs:Function
42 /// Class that lazily initialises the runtime function. Avoids inserting the
43 /// types and the function declaration into a module if they're not used, and
49 llvm::Constant *Function;
56 : CGM(nullptr), FunctionName(nullptr), Function(nullptr) {}
58 /// Initialises the lazy function with the name, return type, and the types
64 Function = nullptr;
79 if (!Function) {
82 Function =
85 return Function;
87 operator llvm::Function *() {
88 return cast<llvm::Function>((llvm::Constant *)*this);
116 /// Instance Method Pointer type. This is a pointer to a function that takes,
128 /// message lookup function and some GC-related functions.
163 /// Helper function that generates a constant string and returns a pointer to
164 /// the start of the string. The result of this function can be used anywhere
283 /// required. This function lets us avoid inserting bitcasts that are
354 /// Function used for throwing Objective-C exceptions.
356 /// Function used for rethrowing exceptions, used at the end of \@finally or
359 /// Function called when entering a catch function. This is required for
362 /// Function called when exiting from a catch block. Used to do exception
365 /// Function called when entering an \@synchronize block. Acquires the lock.
367 /// Function called when exiting an \@synchronize block. Releases the lock.
371 /// Function called if fast enumeration detects that the collection is
374 /// Function for implementing synthesized property getters that return an
377 /// Function for implementing synthesized property setters that return an
380 /// Function used for non-object declared property getters.
382 /// Function used for non-object declared property setters.
534 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
542 llvm::Function *ModuleInitFunction() override;
609 /// The GCC ABI message lookup function. Returns an IMP pointing to the
612 /// The GCC ABI superclass message lookup function. Takes a pointer to a
651 /// The slot lookup function. Returns a pointer to a cacheable structure
654 /// The GNUstep ABI superclass message lookup function. Takes a pointer to
659 /// Specialised function for setting atomic retain properties
661 /// Specialised function for setting atomic copy properties
663 /// Specialised function for setting nonatomic retain properties
665 /// Specialised function for setting nonatomic copy properties
667 /// Function to perform atomic copies of C++ objects with nontrivial copy
670 /// Function to perform atomic copies of C++ objects with nontrivial copy
685 llvm::Function *LookupFn = SlotLookupFn;
700 // The lookup function
716 // The lookup function may have changed the receiver, so make sure we use
827 /// The GCC ABI message lookup function. Returns an IMP pointing to the
830 /// stret lookup function. While this does not seem to make sense at the
831 /// first look, this is required to call the correct forwarding function.
833 /// The GCC ABI superclass message lookup function. Takes a pointer to a
1157 // Objective-C objects in the same function.
1307 // load function. To send a message to super, we look up the value of the
1459 // function anyway
2387 llvm::Function *CGObjCGNU::ModuleInitFunction() {
2388 // Only emit an ObjC load function if no Objective-C stuff has been called
2561 // Create the load function calling the runtime entry point with the module
2563 llvm::Function * LoadFunction = llvm::Function::Create(
2583 llvm::Function *RegisterAlias = llvm::Function::Create(
2597 // The true branch (has alias registration function):
2614 // Missing alias registration function, just return from the function:
2622 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD,
2637 llvm::Function *Method
2638 = llvm::Function::Create(MethodTy,
2690 // the personality function; this avoids the need for bracketing