Home
last modified time | relevance | path

Searched refs:FunctionIndex (Results 1 – 25 of 63) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DFunction.h256 addAttribute(AttributeList::FunctionIndex, Kind); in addFnAttr()
261 addAttribute(AttributeList::FunctionIndex,
267 addAttribute(AttributeList::FunctionIndex, Attr); in addFnAttr()
272 removeAttribute(AttributeList::FunctionIndex, Kind); in removeFnAttr()
278 getContext(), AttributeList::FunctionIndex, Kind)); in removeFnAttr()
366 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
371 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
379 AttributeSets.getStackAlignment(AttributeList::FunctionIndex)) in getFnStackAlignment()
388 return AttributeSets.getStackAlignment(AttributeList::FunctionIndex); in getFnStackAlign()
H A DInstrTypes.h1784 addAttribute(AttributeList::FunctionIndex, Attribute::NoInline);
1789 addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone);
1798 addAttribute(AttributeList::FunctionIndex, Attribute::ReadOnly);
1806 addAttribute(AttributeList::FunctionIndex, Attribute::WriteOnly);
1815 addAttribute(AttributeList::FunctionIndex, Attribute::ArgMemOnly);
1824 addAttribute(AttributeList::FunctionIndex, Attribute::InaccessibleMemOnly);
1833 addAttribute(AttributeList::FunctionIndex,
1839 addAttribute(AttributeList::FunctionIndex, Attribute::NoReturn);
1848 addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind);
1854 addAttribute(AttributeList::FunctionIndex, Attribute::NoDuplicate);
[all …]
H A DAttributes.h389 FunctionIndex = ~0U,
752 unsigned index_begin() const { return AttributeList::FunctionIndex; }
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DStatepoint.cpp30 AS.getAttribute(AttributeList::FunctionIndex, "statepoint-id"); in parseStatepointDirectivesFromAttrs()
37 Attribute AttrNumPatchBytes = AS.getAttribute(AttributeList::FunctionIndex, in parseStatepointDirectivesFromAttrs()
H A DAttributes.cpp1133 for (const auto &I : Sets[attrIdxToArrayIdx(AttributeList::FunctionIndex)]) in AttributeListImpl()
1267 if (MaxIndex == FunctionIndex && Attrs.size() > 1) in get()
1564 return getAttributes(FunctionIndex); in getFnAttributes()
1585 return hasAttribute(AttributeList::FunctionIndex, Kind); in hasFnAttribute()
1707 case AttrIndex::FunctionIndex: in print()
2179 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
2183 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp411 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
413 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
415 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
488 F.removeAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
492 F.addAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DStackMapParser.h364 FunctionAccessor getFunction(unsigned FunctionIndex) const { in getFunction() argument
366 getFunctionOffset(FunctionIndex)); in getFunction()
452 std::size_t getFunctionOffset(unsigned FunctionIndex) const { in getFunctionOffset() argument
453 return FunctionListOffset + FunctionIndex * FunctionSize; in getFunctionOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DEntryExitInstrumenter.cpp92 F.removeAttribute(AttributeList::FunctionIndex, EntryAttr); in runOnFunction()
114 F.removeAttribute(AttributeList::FunctionIndex, ExitAttr); in runOnFunction()
H A DModuleUtils.cpp128 Ctor->addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind); in createSanitizerCtor()
321 AttributeList::FunctionIndex, in setVectorVariantNames()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DIndirectThunks.h65 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in createThunkFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonTargetMachine.cpp241 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-cpu"); in getSubtargetImpl()
243 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-features"); in getSubtargetImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1224 NewF->removeAttributes(AttributeList::FunctionIndex, in buildWrapperFunction()
1302 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1304 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1315 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1317 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1328 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1330 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1339 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1341 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1350 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp85 Call->addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone); in optimizeSQRT()
H A DSCCP.cpp496 F.removeAttributes(AttributeList::FunctionIndex, AttributesToRemove); in runIPSCCP()
503 CB->removeAttributes(AttributeList::FunctionIndex, in runIPSCCP()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCommandFlags.cpp677 AttributeList::FunctionIndex, in setFunctionAttributes()
682 Attrs.addAttributes(Ctx, AttributeList::FunctionIndex, NewAttrs)); in setFunctionAttributes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp346 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in getEmscriptenFunction()
351 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in getEmscriptenFunction()
414 CI->removeAttribute(AttributeList::FunctionIndex, Attribute::NoReturn); in wrapInvoke()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DHowToUseAttributes.rst47 index ``AttributeList::FunctionIndex``; the return type's attributes are at
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp2152 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
2156 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
2161 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
2164 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
2187 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
H A DCodeGenModule.cpp1754 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in SetLLVMFunctionAttributesForDefinition()
1841 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in SetLLVMFunctionAttributesForDefinition()
1891 F->addAttributes(llvm::AttributeList::FunctionIndex, FuncAttrs); in setLLVMFunctionFEnvAttributes()
2007 F->removeAttributes(llvm::AttributeList::FunctionIndex, RemoveAttrs); in setNonAliasAttributes()
2008 F->addAttributes(llvm::AttributeList::FunctionIndex, Attrs); in setNonAliasAttributes()
2117 F->addAttribute(llvm::AttributeList::FunctionIndex, in SetFunctionAttributes()
2124 F->addAttribute(llvm::AttributeList::FunctionIndex, in SetFunctionAttributes()
3586 if (ExtraAttrs.hasAttributes(llvm::AttributeList::FunctionIndex)) { in GetOrCreateLLVMFunction()
3587 llvm::AttrBuilder B(ExtraAttrs, llvm::AttributeList::FunctionIndex); in GetOrCreateLLVMFunction()
3588 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in GetOrCreateLLVMFunction()
[all …]
H A DCGCall.cpp1873 F.addAttributes(llvm::AttributeList::FunctionIndex, FuncAttrs); in addDefaultFunctionDefinitionAttributes()
5164 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5170 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5181 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5188 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5229 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5258 getLLVMContext(), llvm::AttributeList::FunctionIndex, "guard_nocf"); in EmitCall()
5317 CI->removeAttribute(llvm::AttributeList::FunctionIndex, in EmitCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp191 Attrs = Attrs.addAttribute(F.getContext(), AttributeList::FunctionIndex, in LLVMCreateMCJITCompilerForModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp986 Attr = Attr.addAttribute(Ctx, AttributeList::FunctionIndex, in getOrInsertFunction()
988 Attr = Attr.addAttribute(Ctx, AttributeList::FunctionIndex, in getOrInsertFunction()
H A DAMDGPUInstCombineIntrinsic.cpp589 NewCall->addAttribute(AttributeList::FunctionIndex, in instCombineIntrinsic()
715 NewCall->addAttribute(AttributeList::FunctionIndex, in instCombineIntrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineAdvisor.cpp313 CB.addAttribute(AttributeList::FunctionIndex, Attr); in setInlineRemark()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp164 AttributeList::get(M.getContext(), AttributeList::FunctionIndex, in simplifyExternals()

123