| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Function.h | 231 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 D | InstrTypes.h | 1494 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 D | Attributes.h | 331 FunctionIndex = ~0U, 643 unsigned index_begin() const { return AttributeList::FunctionIndex; }
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Statepoint.cpp | 73 AS.getAttribute(AttributeList::FunctionIndex, "statepoint-id"); in parseStatepointDirectivesFromAttrs() 80 Attribute AttrNumPatchBytes = AS.getAttribute(AttributeList::FunctionIndex, in parseStatepointDirectivesFromAttrs()
|
| H A D | Attributes.cpp | 803 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 D | Mips16HardFloat.cpp | 412 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 D | StackMapParser.h | 336 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 D | EntryExitInstrumenter.cpp | 89 F.removeAttribute(AttributeList::FunctionIndex, EntryAttr); in runOnFunction() 116 F.removeAttribute(AttributeList::FunctionIndex, ExitAttr); in runOnFunction()
|
| H A D | BuildLibCalls.cpp | 892 AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex, in emitMemCpyChk() 977 AttributeList::FunctionIndex, in emitUnaryFloatFnCallHelper()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 657 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 D | ThreadSanitizer.cpp | 189 Attr = Attr.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initializeCallbacks()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetMachine.cpp | 230 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 D | PartiallyInlineLibCalls.cpp | 73 Call->addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone); in optimizeSQRT()
|
| H A D | RewriteStatepointsForGC.cpp | 1260 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 D | X86RetpolineThunks.cpp | 212 F->addAttributes(llvm::AttributeList::FunctionIndex, B); in createThunkFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/ |
| H A D | Coroutines.cpp | 279 CB->removeAttribute(AttributeList::FunctionIndex, in buildFrom()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | CommandFlags.inc | 399 llvm::AttributeList::FunctionIndex, 404 Attrs.addAttributes(Ctx, AttributeList::FunctionIndex, NewAttrs));
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 446 CI->addAttribute(AttributeList::FunctionIndex, Attribute::Convergent); in setConvergent()
|
| H A D | AMDGPULibFunc.cpp | 998 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 D | ExecutionEngineBindings.cpp | 192 Attrs = Attrs.addAttribute(F.getContext(), AttributeList::FunctionIndex, in LLVMCreateMCJITCompilerForModule()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 2162 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 D | CodeGenModule.cpp | 1251 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 D | CGCall.cpp | 1832 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 D | WasmObjectWriter.cpp | 1486 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 D | Inliner.cpp | 525 CS.addAttribute(AttributeList::FunctionIndex, attr); in setInlineRemark()
|