Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h257 addAttribute(AttributeList::FunctionIndex, Kind); in addFnAttr()
262 addAttribute(AttributeList::FunctionIndex,
268 addAttribute(AttributeList::FunctionIndex, Attr); in addFnAttr()
273 removeAttribute(AttributeList::FunctionIndex, Kind); in removeFnAttr()
279 getContext(), AttributeList::FunctionIndex, Kind)); in removeFnAttr()
367 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
372 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
380 AttributeSets.getStackAlignment(AttributeList::FunctionIndex)) in getFnStackAlignment()
389 return AttributeSets.getStackAlignment(AttributeList::FunctionIndex); in getFnStackAlign()
H A DInstrTypes.h1783 addAttribute(AttributeList::FunctionIndex, Attribute::NoInline);
1788 addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone);
1797 addAttribute(AttributeList::FunctionIndex, Attribute::ReadOnly);
1805 addAttribute(AttributeList::FunctionIndex, Attribute::WriteOnly);
1814 addAttribute(AttributeList::FunctionIndex, Attribute::ArgMemOnly);
1832 addAttribute(AttributeList::FunctionIndex,
1838 addAttribute(AttributeList::FunctionIndex, Attribute::NoReturn);
1847 addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind);
1853 addAttribute(AttributeList::FunctionIndex, Attribute::NoDuplicate);
1859 addAttribute(AttributeList::FunctionIndex, Attribute::NoMerge);
[all …]
H A DAttributes.h402 FunctionIndex = ~0U,
762 unsigned index_begin() const { return AttributeList::FunctionIndex; }
/freebsd-13.1/contrib/llvm-project/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.cpp964 for (const auto &I : Sets[attrIdxToArrayIdx(AttributeList::FunctionIndex)]) in AttributeListImpl()
1098 if (MaxIndex == FunctionIndex && Attrs.size() > 1) in get()
1384 return getAttributes(FunctionIndex); in getFnAttributes()
1405 return hasAttribute(AttributeList::FunctionIndex, Kind); in hasFnAttribute()
1531 case AttrIndex::FunctionIndex: in print()
1969 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
1973 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
301 AttributeList::FunctionIndex, in setVectorVariantNames()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DIndirectThunks.h65 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in createThunkFunction()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp85 Call->addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone); in optimizeSQRT()
H A DSCCP.cpp493 F.removeAttributes(AttributeList::FunctionIndex, AttributesToRemove); in runIPSCCP()
500 CB->removeAttributes(AttributeList::FunctionIndex, in runIPSCCP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCommandFlags.cpp670 AttributeList::FunctionIndex, in setFunctionAttributes()
675 Attrs.addAttributes(Ctx, AttributeList::FunctionIndex, NewAttrs)); in setFunctionAttributes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp356 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in getEmscriptenFunction()
361 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in getEmscriptenFunction()
424 CI->removeAttribute(AttributeList::FunctionIndex, Attribute::NoReturn); in wrapInvoke()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp191 Attrs = Attrs.addAttribute(F.getContext(), AttributeList::FunctionIndex, in LLVMCreateMCJITCompilerForModule()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp2191 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
2195 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
2200 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
2203 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
2226 Result.addAttribute(llvm::AttributeList::FunctionIndex, in UpdateAsmCallInst()
H A DCodeGenModule.cpp1784 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in SetLLVMFunctionAttributesForDefinition()
1871 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in SetLLVMFunctionAttributesForDefinition()
1921 F->addAttributes(llvm::AttributeList::FunctionIndex, FuncAttrs); in setLLVMFunctionFEnvAttributes()
2037 F->removeAttributes(llvm::AttributeList::FunctionIndex, RemoveAttrs); in setNonAliasAttributes()
2038 F->addAttributes(llvm::AttributeList::FunctionIndex, Attrs); in setNonAliasAttributes()
2147 F->addAttribute(llvm::AttributeList::FunctionIndex, in SetFunctionAttributes()
2154 F->addAttribute(llvm::AttributeList::FunctionIndex, in SetFunctionAttributes()
3616 if (ExtraAttrs.hasAttributes(llvm::AttributeList::FunctionIndex)) { in GetOrCreateLLVMFunction()
3617 llvm::AttrBuilder B(ExtraAttrs, llvm::AttributeList::FunctionIndex); in GetOrCreateLLVMFunction()
3618 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in GetOrCreateLLVMFunction()
[all …]
H A DCGCall.cpp1874 F.addAttributes(llvm::AttributeList::FunctionIndex, FuncAttrs); in addDefaultFunctionDefinitionAttributes()
5171 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5177 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5188 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5195 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5236 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
5265 getLLVMContext(), llvm::AttributeList::FunctionIndex, "guard_nocf"); in EmitCall()
5324 CI->removeAttribute(llvm::AttributeList::FunctionIndex, in EmitCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1163 NewF->removeAttributes(AttributeList::FunctionIndex, in buildWrapperFunction()
1241 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1243 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1252 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1254 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeRuntimeFunctions()
1516 NewF->removeAttributes(AttributeList::FunctionIndex, ReadOnlyNoneAttrs); in runImpl()
2956 CustomFn->removeAttributes(AttributeList::FunctionIndex, in visitWrappedCallBase()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp993 Attr = Attr.addAttribute(Ctx, AttributeList::FunctionIndex, in getOrInsertFunction()
995 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()
H A DAMDGPUPrintfRuntimeBinding.cpp320 AttributeList Attr = AttributeList::get(Ctx, AttributeList::FunctionIndex, in lowerPrintfForGpu()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp316 CB.addAttribute(AttributeList::FunctionIndex, Attr); in setInlineRemark()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp185 AttributeList::get(M.getContext(), AttributeList::FunctionIndex, in simplifyExternals()

123