/external/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 29 PAL.addAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMAddFunctionAttr2() 31 AttributeSet::FunctionIndex, B)); in LLVMAddFunctionAttr2() 38 return PAL.Raw(AttributeSet::FunctionIndex); in LLVMGetFunctionAttr2() 46 PAL.removeAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMRemoveFunctionAttr2() 48 AttributeSet::FunctionIndex, B)); in LLVMRemoveFunctionAttr2()
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 171 AttributeSet::FunctionIndex, N)); 177 getContext(), AttributeSet::FunctionIndex, Kind)); 184 AttributeSet::FunctionIndex, Kind)); 189 AttributeSet::FunctionIndex, Kind, Value)); 203 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind); 208 return getAttribute(AttributeSet::FunctionIndex, Kind); 211 return getAttribute(AttributeSet::FunctionIndex, Kind); 218 return AttributeSets.getStackAlignment(AttributeSet::FunctionIndex);
|
D | Instructions.h | 1719 addAttribute(AttributeSet::FunctionIndex, Attribute::NoInline); 1727 addAttribute(AttributeSet::FunctionIndex, Attribute::ReturnsTwice); 1735 addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); 1743 addAttribute(AttributeSet::FunctionIndex, Attribute::ReadOnly); 1751 addAttribute(AttributeSet::FunctionIndex, Attribute::WriteOnly); 1760 addAttribute(AttributeSet::FunctionIndex, Attribute::ArgMemOnly); 1766 addAttribute(AttributeSet::FunctionIndex, Attribute::NoReturn); 1772 addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind); 1778 addAttribute(AttributeSet::FunctionIndex, Attribute::NoDuplicate); 1784 addAttribute(AttributeSet::FunctionIndex, Attribute::Convergent); [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Function.h | 179 addAttribute(AttributeSet::FunctionIndex, Kind); in addFnAttr() 184 addAttribute(AttributeSet::FunctionIndex, 189 addAttribute(AttributeSet::FunctionIndex, Attr); in addFnAttr() 194 removeAttribute(AttributeSet::FunctionIndex, Kind); in removeFnAttr() 200 getContext(), AttributeSet::FunctionIndex, Kind)); in removeFnAttr() 231 return getAttribute(AttributeSet::FunctionIndex, Kind); in getFnAttribute() 234 return getAttribute(AttributeSet::FunctionIndex, Kind); in getFnAttribute() 241 return AttributeSets.getStackAlignment(AttributeSet::FunctionIndex); in getFnStackAlignment()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Function.h | 217 addAttribute(AttributeList::FunctionIndex, Kind); in addFnAttr() 222 addAttribute(AttributeList::FunctionIndex, 228 addAttribute(AttributeList::FunctionIndex, Attr); in addFnAttr() 233 removeAttribute(AttributeList::FunctionIndex, Kind); in removeFnAttr() 239 getContext(), AttributeList::FunctionIndex, Kind)); in removeFnAttr() 318 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute() 323 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute() 330 return AttributeSets.getStackAlignment(AttributeList::FunctionIndex); in getFnStackAlignment()
|
/external/llvm/include/llvm/CodeGen/ |
D | CommandFlags.h | 359 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes() 363 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes() 367 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes() 372 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes() 377 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes() 387 Call->addAttribute(llvm::AttributeSet::FunctionIndex, in setFunctionAttributes() 391 NewAttrs = Attrs.addAttributes(Ctx, AttributeSet::FunctionIndex, NewAttrs); in setFunctionAttributes()
|
/external/llvm/lib/Target/Mips/ |
D | Mips16HardFloat.cpp | 419 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall() 421 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall() 423 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall() 497 A = A.addAttribute(F.getContext(), AttributeSet::FunctionIndex, in removeUseSoftFloat() 499 F.removeAttributes(AttributeSet::FunctionIndex, A); in removeUseSoftFloat() 503 F.addAttributes(AttributeSet::FunctionIndex, A); in removeUseSoftFloat()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/ |
D | ARCRuntimeEntryPoints.h | 141 C, AttributeList::FunctionIndex, Attribute::NoUnwind); in getVoidRetI8XEntryPoint() 159 Attr = Attr.addAttribute(C, AttributeList::FunctionIndex, 175 C, AttributeList::FunctionIndex, Attribute::NoUnwind); in getI8XRetI8XXI8XEntryPoint()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCRuntimeEntryPoints.h | 132 AttributeSet().addAttribute(C, AttributeSet::FunctionIndex, in getVoidRetI8XEntryPoint() 152 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex, 169 AttributeSet().addAttribute(C, AttributeSet::FunctionIndex, in getI8XRetI8XXI8XEntryPoint()
|
/external/llvm/lib/IR/ |
D | Statepoint.cpp | 60 AS.getAttribute(AttributeSet::FunctionIndex, "statepoint-id"); in parseStatepointDirectivesFromAttrs() 67 Attribute AttrNumPatchBytes = AS.getAttribute(AttributeSet::FunctionIndex, in parseStatepointDirectivesFromAttrs()
|
D | Verifier.cpp | 1503 if (!Attrs.hasAttributes(AttributeSet::FunctionIndex)) in verifyFunctionAttrs() 1506 verifyAttributeTypes(Attrs, AttributeSet::FunctionIndex, true, V); in verifyFunctionAttrs() 1509 !(Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone) && in verifyFunctionAttrs() 1510 Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadOnly)), in verifyFunctionAttrs() 1514 !(Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone) && in verifyFunctionAttrs() 1515 Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::WriteOnly)), in verifyFunctionAttrs() 1519 !(Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadOnly) && in verifyFunctionAttrs() 1520 Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::WriteOnly)), in verifyFunctionAttrs() 1524 !(Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone) && in verifyFunctionAttrs() 1525 Attrs.hasAttribute(AttributeSet::FunctionIndex, in verifyFunctionAttrs() [all …]
|
D | AttributeImpl.h | 263 static_assert(AttributeSet::FunctionIndex == ~0u, in AttributeSetImpl() 266 if (Last.first == AttributeSet::FunctionIndex) { in AttributeSetImpl()
|
D | Attributes.cpp | 1084 return pImpl && hasAttributes(FunctionIndex) ? in getFnAttributes() 1087 std::make_pair(FunctionIndex, in getFnAttributes() 1088 getAttributes(FunctionIndex)))) : in getFnAttributes() 1612 AttributeSet::FunctionIndex, in adjustCallerSSPLevel() 1616 Caller.removeAttributes(AttributeSet::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel() 1620 Caller.removeAttributes(AttributeSet::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Statepoint.cpp | 73 AS.getAttribute(AttributeList::FunctionIndex, "statepoint-id"); in parseStatepointDirectivesFromAttrs() 80 Attribute AttrNumPatchBytes = AS.getAttribute(AttributeList::FunctionIndex, in parseStatepointDirectivesFromAttrs()
|
D | Attributes.cpp | 801 return Index == AttributeList::FunctionIndex ? 0 : Index + 1; in attrIdxToArrayIdx() 816 static_assert(attrIdxToArrayIdx(AttributeList::FunctionIndex) == 0U, in AttributeListImpl() 928 if (MaxIndex == FunctionIndex && Attrs.size() > 1) in get() 1197 return getAttributes(FunctionIndex); in getFnAttributes() 1218 return hasAttribute(AttributeList::FunctionIndex, Kind); in hasFnAttribute() 1640 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel() 1644 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | Mips16HardFloat.cpp | 410 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall() 412 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall() 414 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall() 487 F.removeAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat() 491 F.addAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
|
/external/llvm/include/llvm/Object/ |
D | StackMapParser.h | 337 FunctionAccessor getFunction(unsigned FunctionIndex) const { in getFunction() argument 339 getFunctionOffset(FunctionIndex)); in getFunction() 426 std::size_t getFunctionOffset(unsigned FunctionIndex) const { in getFunctionOffset() argument 427 return FunctionListOffset + FunctionIndex * FunctionSize; in getFunctionOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | EntryExitInstrumenter.cpp | 89 F.removeAttribute(AttributeList::FunctionIndex, EntryAttr); in runOnFunction() 116 F.removeAttribute(AttributeList::FunctionIndex, ExitAttr); in runOnFunction()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_shader.cpp | 598 JM()->mContext, AttributeSet::FunctionIndex, attrBuilder); in CompileGS() 599 pFunction->addAttributes(AttributeSet::FunctionIndex, attrSet); in CompileGS() 601 pFunction->addAttributes(AttributeList::FunctionIndex, attrBuilder); in CompileGS() 766 JM()->mContext, AttributeSet::FunctionIndex, attrBuilder); in CompileVS() 767 pFunction->addAttributes(AttributeSet::FunctionIndex, attrSet); in CompileVS() 769 pFunction->addAttributes(AttributeList::FunctionIndex, attrBuilder); in CompileVS() 1048 JM()->mContext, AttributeSet::FunctionIndex, attrBuilder); in CompileFS() 1049 pFunction->addAttributes(AttributeSet::FunctionIndex, attrSet); in CompileFS() 1051 pFunction->addAttributes(AttributeList::FunctionIndex, attrBuilder); in CompileFS()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 549 AttributeSet::FunctionIndex, in buildWrapperFunction() 550 AttributeSet().addAttribute(*Ctx, AttributeSet::FunctionIndex, in buildWrapperFunction() 625 F->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind); in runOnModule() 626 F->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); in runOnModule() 633 F->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind); in runOnModule() 634 F->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); in runOnModule() 642 F->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind); in runOnModule() 643 F->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadOnly); in runOnModule() 699 ReadOnlyNoneAttrs = AttributeSet::get(*Ctx, AttributeSet::FunctionIndex, B); in runOnModule() 761 NewF->removeAttributes(AttributeSet::FunctionIndex, ReadOnlyNoneAttrs); in runOnModule() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonTargetMachine.cpp | 161 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-cpu"); in getSubtargetImpl() 163 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-features"); in getSubtargetImpl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | AttributesTest.cpp | 57 AL = AL.addAttributes(C, AttributeList::FunctionIndex, AttributeSet::get(C, B)); in TEST() 165 … { AttributeList::FunctionIndex, Attribute::get(C, Attribute::ReadOnly) } }; in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
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() 873 NewF->removeAttributes(AttributeList::FunctionIndex, ReadOnlyNoneAttrs); in runOnModule() 1555 CustomFn->removeAttributes(AttributeList::FunctionIndex, in visitCallSite()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonTargetMachine.cpp | 232 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-cpu"); in getSubtargetImpl() 234 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-features"); in getSubtargetImpl()
|