Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:call

55 /// EmitObjCBoxedExpr - This routine generates code to call
114 // values alive until after the call.
198 // after the call.
289 // We generally assume that 'self' lives throughout a method call.
378 // self. This represents the call taking direct ownership of that
379 // value. We have to do this after emitting the other call
391 assert(selfAddr && "no self entry for a delegate init call?");
417 // the call back into self. This takes ownership of the value.
446 // Call [super dealloc] if we have a superclass.
512 /// emitStructGetterCall - Call the runtime function to load a property
546 /// call and a mutex.
748 assert(OMD && "Invalid call to generate getter (empty method)");
779 /// emitCPPObjectAtomicGetterCall - Call the runtime function to
972 /// emitStructSetterCall - Call the runtime function to store the value
1015 /// emitCPPObjectAtomicSetterCall - Call the runtime function to store
1063 // An operator call is trivial if the function it calls is trivial.
1068 if (CallExpr *call = dyn_cast<CallExpr>(setter)) {
1070 = dyn_cast_or_null<FunctionDecl>(call->getCalleeDecl()))
1274 assert(OMD && "Invalid call to generate setter (empty method)");
1305 /// Like CodeGenFunction::destroyARCStrong, but do it with a call.
1330 // Use a call to objc_storeStrong to destroy strong ivars, for the
1554 // If so, call the enumeration-mutation function.
1798 // Call the function.
1799 llvm::CallInst *call = CGF.EmitNounwindRuntimeCall(fn, value);
1801 call->setTailCall();
1804 return CGF.Builder.CreateBitCast(call, origType);
1823 // Call the function.
1891 /// call i8* \@objc_retain(i8* %value)
1892 /// call i8* \@objc_retainBlock(i8* %value)
1901 /// call i8* \@objc_retain(i8* %value)
1909 /// call i8* \@objc_retainBlock(i8* %value)
1911 /// \param mandatory - If false, emit the call with metadata
1912 /// indicating that it's okay for the optimizer to eliminate this call
1926 llvm::CallInst *call
1928 assert(call->getCalledValue() == CGM.getARCEntrypoints().objc_retainBlock);
1931 call->setMetadata("clang.arc.copy_on_escape",
1938 /// Retain the given object which is the result of a function call.
1939 /// call i8* \@objc_retainAutoreleasedReturnValue(i8* %value)
1942 /// call with completely different semantics.
1957 // Otherwise, at -O0, build an inline asm that we're going to call
1980 // Call the marker asm if we made one, which we do only at -O0.
1989 /// call void \@objc_release(i8* %value)
2004 // Call objc_release.
2005 llvm::CallInst *call = EmitNounwindRuntimeCall(fn, value);
2009 call->setMetadata("clang.imprecise_release",
2016 /// At -O0, emit a call to store 'null' into the address;
2020 /// At -O1 and above, just load and call objc_release.
2022 /// call void \@objc_storeStrong(i8** %addr, i8* null)
2038 /// call void \@objc_storeStrong(i8** %addr, i8* %value)
2064 /// call void \@objc_storeStrong(i8** %addr, i8* %value)
2100 /// call
2108 /// call i8* \@objc_autoreleaseReturnValue(i8* %value)
2118 /// call i8* \@objc_retainAutoreleaseReturnValue(i8* %value)
2128 /// call i8* \@objc_retainAutorelease(i8* %value)
2130 /// %retain = call i8* \@objc_retainBlock(i8* %value)
2131 /// call i8* \@objc_autorelease(i8* %retain)
2147 /// call i8* \@objc_retainAutorelease(i8* %value)
2235 /// call i8* \@objc_autoreleasePoolPush(void)
2248 /// call void \@objc_autoreleasePoolPop(i8* %ptr)
2394 // result of the call to objc_storeWeak instead of reloading.
2408 /// Given that the given expression is some sort of call (which does
2417 if (llvm::CallInst *call = dyn_cast<llvm::CallInst>(value)) {
2420 // Place the retain immediately following the call.
2421 CGF.Builder.SetInsertPoint(call->getParent(),
2422 ++llvm::BasicBlock::iterator(call));
2632 // For reclaims, emit the subexpression as a retained call and
2651 // For calls and message sends, use the retained-call logic.