Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DAttributes.h429 FunctionIndex = ~0U,
514 return addAttributeAtIndex(C, FunctionIndex, Kind);
521 return addAttributeAtIndex(C, FunctionIndex, Attr);
528 return addAttributeAtIndex(C, FunctionIndex, Kind, Value);
535 return addAttributesAtIndex(C, FunctionIndex, B);
617 return removeAttributeAtIndex(C, FunctionIndex, Kind);
624 return removeAttributeAtIndex(C, FunctionIndex, Kind);
631 return removeAttributesAtIndex(C, FunctionIndex, AttrsToRemove);
637 return removeAttributesAtIndex(C, FunctionIndex);
811 return getAttributeAtIndex(FunctionIndex, Kind);
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/docs/
H A DHowToUseAttributes.rst47 index ``AttributeList::FunctionIndex``; the return type's attributes are at
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp974 for (const auto &I : Sets[attrIdxToArrayIdx(AttributeList::FunctionIndex)]) in AttributeListImpl()
1100 if (MaxIndex == FunctionIndex && Attrs.size() > 1) in get()
1389 return getAttributes(FunctionIndex); in getFnAttrs()
1410 return hasAttributeAtIndex(AttributeList::FunctionIndex, Kind); in hasFnAttr()
1543 case AttrIndex::FunctionIndex: in print()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DAttributesTest.cpp173 … { AttributeList::FunctionIndex, Attribute::get(C, Attribute::ReadOnly) } }; in TEST()
H A DInstructionsTest.cpp736 AttributeList::get(C, AttributeList::FunctionIndex, AB)); in TEST()
754 Call->setAttributes(AttributeList::get(C, AttributeList::FunctionIndex, AB)); in TEST()
784 AttributeList::get(C, AttributeList::FunctionIndex, AB)); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp321 AttributeList Attr = AttributeList::get(Ctx, AttributeList::FunctionIndex, in lowerPrintfForGpu()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp192 AttributeList::FunctionIndex, in simplifyExternals()
/llvm-project-15.0.7/llvm/lib/MC/
H A DWasmObjectWriter.cpp1840 uint32_t FunctionIndex = WasmIndices.find(Base)->second; in writeOneObject() local
1845 TableElems.push_back(FunctionIndex); in writeOneObject()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp361 EnumerateAttributes(GV.getAttributesAsList(AttributeList::FunctionIndex)); in ValueEnumerator()
H A DBitcodeWriter.cpp1388 auto AL = GV.getAttributesAsList(AttributeList::FunctionIndex); in writeModuleInfo()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp399 EnumerateAttributes(GV.getAttributesAsList(AttributeList::FunctionIndex)); in ValueEnumerator()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp2431 llvm::AttributeList::FunctionIndex, in getDynTlsOnDemandInitFn()
2521 llvm::AttributeList::FunctionIndex, in getInitThreadHeaderFn()
2533 llvm::AttributeList::FunctionIndex, in getInitThreadFooterFn()
2545 llvm::AttributeList::FunctionIndex, in getInitThreadAbortFn()
H A DItaniumCXXABI.cpp1343 CGF.getLLVMContext(), llvm::AttributeList::FunctionIndex, FuncAttrs); in getItaniumDynamicCastFn()
2299 llvm::AttributeList::FunctionIndex, in getGuardAcquireFn()
2311 llvm::AttributeList::FunctionIndex, in getGuardReleaseFn()
2323 llvm::AttributeList::FunctionIndex, in getGuardAbortFn()
H A DCGObjCMac.cpp72 llvm::AttributeList::FunctionIndex, in getMessageSendFn()
593 llvm::AttributeList::FunctionIndex, in getSetJmpFn()
743 llvm::AttributeList::FunctionIndex, in getLoadClassrefFn()
H A DCGAtomic.cpp323 CGF.getLLVMContext(), llvm::AttributeList::FunctionIndex, fnAttrB); in emitAtomicLibcall()
H A DCGExpr.cpp3277 llvm::AttributeList::FunctionIndex, B), in emitCheckHandlerCall()
H A DCGBuiltin.cpp1109 CGF.getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitMSVCRTSetJmp()
1669 getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitMSVCBuiltinExpr()
15039 getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitX86BuiltinExpr()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DPPCGCodeGeneration.cpp291 isl_multi_pw_aff *(*FunctionIndex)(__isl_take isl_multi_pw_aff *MPA, in pollyBuildAstExprForStmt()
317 MPA = isl::manage(FunctionIndex(MPA.release(), RefId.get(), UserIndex)); in pollyBuildAstExprForStmt()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1510 AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex, in emitMemCpyChk()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h654 return AttributeList::FunctionIndex;