Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DFunction.h231 addAttribute(AttributeList::FunctionIndex, Kind); in addFnAttr()
236 addAttribute(AttributeList::FunctionIndex,
242 addAttribute(AttributeList::FunctionIndex, Attr); in addFnAttr()
247 removeAttribute(AttributeList::FunctionIndex, Kind); in removeFnAttr()
253 getContext(), AttributeList::FunctionIndex, Kind)); in removeFnAttr()
332 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
337 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
344 return AttributeSets.getStackAlignment(AttributeList::FunctionIndex); in getFnStackAlignment()
H A DInstrTypes.h1494 addAttribute(AttributeList::FunctionIndex, Attribute::NoInline);
1499 addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone);
1507 addAttribute(AttributeList::FunctionIndex, Attribute::ReadOnly);
1515 addAttribute(AttributeList::FunctionIndex, Attribute::WriteOnly);
1524 addAttribute(AttributeList::FunctionIndex, Attribute::ArgMemOnly);
1542 addAttribute(AttributeList::FunctionIndex,
1548 addAttribute(AttributeList::FunctionIndex, Attribute::NoReturn);
1557 addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind);
1563 addAttribute(AttributeList::FunctionIndex, Attribute::NoDuplicate);
1569 addAttribute(AttributeList::FunctionIndex, Attribute::Convergent);
[all …]
H A DAttributes.h331 FunctionIndex = ~0U,
643 unsigned index_begin() const { return AttributeList::FunctionIndex; }
/freebsd-12.1/contrib/llvm/lib/IR/
H A DStatepoint.cpp73 AS.getAttribute(AttributeList::FunctionIndex, "statepoint-id"); in parseStatepointDirectivesFromAttrs()
80 Attribute AttrNumPatchBytes = AS.getAttribute(AttributeList::FunctionIndex, in parseStatepointDirectivesFromAttrs()
H A DAttributes.cpp803 return Index == AttributeList::FunctionIndex ? 0 : Index + 1; in attrIdxToArrayIdx()
818 static_assert(attrIdxToArrayIdx(AttributeList::FunctionIndex) == 0U, in AttributeListImpl()
930 if (MaxIndex == FunctionIndex && Attrs.size() > 1) in get()
1199 return getAttributes(FunctionIndex); in getFnAttributes()
1220 return hasAttribute(AttributeList::FunctionIndex, Kind); in hasFnAttribute()
1642 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
1646 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp412 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
414 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
416 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
489 F.removeAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
493 F.addAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DStackMapParser.h336 FunctionAccessor getFunction(unsigned FunctionIndex) const { in getFunction() argument
338 getFunctionOffset(FunctionIndex)); in getFunction()
424 std::size_t getFunctionOffset(unsigned FunctionIndex) const { in getFunctionOffset() argument
425 return FunctionListOffset + FunctionIndex * FunctionSize; in getFunctionOffset()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DEntryExitInstrumenter.cpp89 F.removeAttribute(AttributeList::FunctionIndex, EntryAttr); in runOnFunction()
116 F.removeAttribute(AttributeList::FunctionIndex, ExitAttr); in runOnFunction()
H A DBuildLibCalls.cpp892 AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex, in emitMemCpyChk()
977 AttributeList::FunctionIndex, in emitUnaryFloatFnCallHelper()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp657 NewF->removeAttributes(AttributeList::FunctionIndex, in buildWrapperFunction()
731 F->addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind); in runOnModule()
732 F->addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone); in runOnModule()
739 F->addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind); in runOnModule()
740 F->addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone); in runOnModule()
748 F->addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind); in runOnModule()
749 F->addAttribute(AttributeList::FunctionIndex, Attribute::ReadOnly); in runOnModule()
874 NewF->removeAttributes(AttributeList::FunctionIndex, ReadOnlyNoneAttrs); in runOnModule()
1556 CustomFn->removeAttributes(AttributeList::FunctionIndex, in visitCallSite()
H A DThreadSanitizer.cpp189 Attr = Attr.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeCallbacks()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetMachine.cpp230 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-cpu"); in getSubtargetImpl()
232 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-features"); in getSubtargetImpl()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp73 Call->addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone); in optimizeSQRT()
H A DRewriteStatepointsForGC.cpp1260 return AttributeList::get(Ctx, AttributeList::FunctionIndex, in legalizeCallAttributes()
1408 if (CSAS.hasAttribute(AttributeList::FunctionIndex, DeoptLowering)) in getDeoptLowering()
1409 return CSAS.getAttribute(AttributeList::FunctionIndex, DeoptLowering) in getDeoptLowering()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86RetpolineThunks.cpp212 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in createThunkFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp279 CB->removeAttribute(AttributeList::FunctionIndex, in buildFrom()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DCommandFlags.inc399 llvm::AttributeList::FunctionIndex,
404 Attrs.addAttributes(Ctx, AttributeList::FunctionIndex, NewAttrs));
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp446 CI->addAttribute(AttributeList::FunctionIndex, Attribute::Convergent); in setConvergent()
H A DAMDGPULibFunc.cpp998 Attr = Attr.addAttribute(Ctx, AttributeList::FunctionIndex, in getOrInsertFunction()
1000 Attr = Attr.addAttribute(Ctx, AttributeList::FunctionIndex, in getOrInsertFunction()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp192 Attrs = Attrs.addAttribute(F.getContext(), AttributeList::FunctionIndex, in LLVMCreateMCJITCompilerForModule()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp2162 Result->addAttribute(llvm::AttributeList::FunctionIndex, in EmitAsmStmt()
2168 Result->addAttribute(llvm::AttributeList::FunctionIndex, in EmitAsmStmt()
2171 Result->addAttribute(llvm::AttributeList::FunctionIndex, in EmitAsmStmt()
2193 Result->addAttribute(llvm::AttributeList::FunctionIndex, in EmitAsmStmt()
H A DCodeGenModule.cpp1251 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in SetLLVMFunctionAttributesForDefinition()
1337 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in SetLLVMFunctionAttributesForDefinition()
1469 F->addAttributes(llvm::AttributeList::FunctionIndex, Attrs); in setNonAliasAttributes()
1580 F->addAttribute(llvm::AttributeList::FunctionIndex, in SetFunctionAttributes()
2825 if (ExtraAttrs.hasAttributes(llvm::AttributeList::FunctionIndex)) { in GetOrCreateLLVMFunction()
2826 llvm::AttrBuilder B(ExtraAttrs, llvm::AttributeList::FunctionIndex); in GetOrCreateLLVMFunction()
2827 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in GetOrCreateLLVMFunction()
H A DCGCall.cpp1832 F.addAttributes(llvm::AttributeList::FunctionIndex, FuncAttrs); in AddDefaultFnAttrs()
4302 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
4309 Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitCall()
4326 CannotThrow = Attrs.hasAttribute(llvm::AttributeList::FunctionIndex, in EmitCall()
4403 CS.removeAttribute(llvm::AttributeList::FunctionIndex, in EmitCall()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DWasmObjectWriter.cpp1486 uint32_t FunctionIndex = WasmIndices.find(&WS)->second; in writeObject() local
1491 TableElems.push_back(FunctionIndex); in writeObject()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DInliner.cpp525 CS.addAttribute(AttributeList::FunctionIndex, attr); in setInlineRemark()

123