reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1795 if (llvm::Intrinsic::ID IID = F->getIntrinsicID()) { 1798 F->setAttributes(llvm::Intrinsic::getAttributes(getLLVMContext(), IID)); 1805 SetLLVMFunctionAttributes(GD, getTypes().arrangeGlobalDeclaration(GD), F); 1812 assert(!F->arg_empty() && 1813 F->arg_begin()->getType() 1814 ->canLosslesslyBitCastTo(F->getReturnType()) && 1816 F->addAttribute(1, llvm::Attribute::Returned); 1822 setLinkageForGV(F, FD); 1823 setGVProperties(F, FD); 1826 if (!IsIncompleteFunction && F->isDeclaration()) 1827 getTargetCodeGenInfo().setTargetAttributes(FD, F, *this); 1830 F->setSection(CSA->getName()); 1832 F->setSection(SA->getName()); 1837 F->addAttribute(llvm::AttributeList::FunctionIndex, 1846 F->addAttribute(llvm::AttributeList::ReturnIndex, 1851 F->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); 1854 F->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); 1862 CreateFunctionTypeMetadataForIcall(FD, F); 1865 getOpenMPRuntime().emitDeclareSimdFunction(FD, F); 1871 llvm::LLVMContext &Ctx = F->getContext(); 1878 F->addMetadata(llvm::LLVMContext::MD_callback,