Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Runtime

52   // FIXME: This bitcast should just be made an invariant on the Runtime.
79 CGObjCRuntime &Runtime = CGM.getObjCRuntime();
81 llvm::Value *Receiver = Runtime.GetClass(*this, ClassDecl);
113 RValue result = Runtime.GenerateMessageSend(
223 CGObjCRuntime &Runtime = CGM.getObjCRuntime();
224 llvm::Value *Receiver = Runtime.GetClass(*this, Class);
227 RValue result = Runtime.GenerateMessageSend(
359 /// The ObjC runtime may provide entrypoints that are likely to be faster
370 /// If the runtime does support a required entrypoint, then this method will
383 auto &Runtime = CGM.getLangOpts().ObjCRuntime;
387 Runtime.shouldUseRuntimeFunctionsForAlloc() &&
410 Runtime.shouldUseARCFunctionsForRetainRelease())
417 Runtime.shouldUseARCFunctionsForRetainRelease())
424 Runtime.shouldUseARCFunctionsForRetainRelease()) {
478 // If there are no non-runtime protocols then we can just stop now.
482 // Else we have to search through the non-runtime protocol's inheritancy
483 // hierarchy DAG stopping whenever a branch either finds a runtime protocol or
484 // a non-runtime protocol without any parents. These are the "first-implied"
485 // protocols from a non-runtime protocol.
490 // Walk the Runtime list to get all protocols implied via the inclusion of
524 auto &Runtime = CGF.getLangOpts().ObjCRuntime;
525 if (!Runtime.shouldUseRuntimeFunctionForCombinedAllocInit())
605 CGObjCRuntime &Runtime = CGM.getObjCRuntime();
629 Receiver = Runtime.GetClass(*this, OID);
686 result = Runtime.GenerateMessageSendSuper(*this, Return, ResultType,
695 // Call runtime methods directly if we can.
696 result = Runtime.GeneratePossiblySpecializedMessageSend(
813 /// emitStructGetterCall - Call the runtime function to load a property
1079 /// emitCPPObjectAtomicGetterCall - Call the runtime function to
1204 // runtime already should have computed it to build the function.
1287 /// emitStructSetterCall - Call the runtime function to store the value
1330 /// emitCPPObjectAtomicSetterCall - Call the runtime function to store
1502 // FIXME: We shouldn't need to get the function info here, the runtime
1711 CGM.ErrorUnsupported(&S, "Obj-C fast enumeration for this runtime");
1863 // FIXME: We shouldn't need to get the function info here, the runtime already
2078 // This isn't really a "runtime" function, but as an intrinsic it
2094 // If the target runtime doesn't naturally support ARC, emit weak
2095 // references to the runtime support library. We don't really
2586 // to get the runtime involved. But don't do this if optimization
2666 // Call the runtime method not the intrinsic if we are handling exceptions
2695 CGObjCRuntime &Runtime = CGM.getObjCRuntime();
2696 llvm::Value *Receiver = Runtime.EmitNSAutoreleasePoolClassRef(*this);
2702 Runtime.GenerateMessageSend(*this, ReturnValueSlot(),
2711 Runtime.GenerateMessageSend(*this, ReturnValueSlot(),
2935 // FIXME: We should find a way to emit the runtime call immediately
3859 CGObjCRuntime &Runtime = CGM.getObjCRuntime();
3862 Result = Runtime.GenerateMessageSend(*this, ReturnValueSlot(),
3866 Result = Runtime.GenerateMessageSend(*this, ReturnValueSlot(),