Home
last modified time | relevance | path

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

1234

/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DFunction.h184 AttributeSet::FunctionIndex, N));
190 getContext(), AttributeSet::FunctionIndex, N));
197 AttributeSet::FunctionIndex, Kind));
202 AttributeSet::FunctionIndex, Kind, Value));
207 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
210 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
215 return AttributeSets.getAttribute(AttributeSet::FunctionIndex, Kind);
218 return AttributeSets.getAttribute(AttributeSet::FunctionIndex, Kind);
250 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
260 AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
[all …]
H A DInstructions.h1409 addAttribute(AttributeSet::FunctionIndex, Attribute::NoInline);
1417 addAttribute(AttributeSet::FunctionIndex, Attribute::ReturnsTwice);
1425 addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone);
1433 addAttribute(AttributeSet::FunctionIndex, Attribute::ReadOnly);
1439 addAttribute(AttributeSet::FunctionIndex, Attribute::NoReturn);
1445 addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind);
1451 addAttribute(AttributeSet::FunctionIndex, Attribute::NoDuplicate);
3092 addAttribute(AttributeSet::FunctionIndex, Attribute::NoInline);
3100 addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone);
3108 addAttribute(AttributeSet::FunctionIndex, Attribute::ReadOnly);
[all …]
/minix3/external/bsd/llvm/dist/llvm/bindings/go/llvm/
H A DIRBindings.cpp30 PAL.addAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMAddFunctionAttr2()
32 AttributeSet::FunctionIndex, B)); in LLVMAddFunctionAttr2()
39 return PAL.Raw(AttributeSet::FunctionIndex); in LLVMGetFunctionAttr2()
47 PAL.removeAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMRemoveFunctionAttr2()
49 AttributeSet::FunctionIndex, B)); in LLVMRemoveFunctionAttr2()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DInliner.cpp98 AttributeSet::FunctionIndex, in AdjustCallerSSPLevel()
103 if (CalleeAttr.hasAttribute(AttributeSet::FunctionIndex, in AdjustCallerSSPLevel()
105 Caller->removeAttributes(AttributeSet::FunctionIndex, OldSSPAttr); in AdjustCallerSSPLevel()
107 } else if (CalleeAttr.hasAttribute(AttributeSet::FunctionIndex, in AdjustCallerSSPLevel()
109 !CallerAttr.hasAttribute(AttributeSet::FunctionIndex, in AdjustCallerSSPLevel()
111 Caller->removeAttributes(AttributeSet::FunctionIndex, OldSSPAttr); in AdjustCallerSSPLevel()
113 } else if (CalleeAttr.hasAttribute(AttributeSet::FunctionIndex, in AdjustCallerSSPLevel()
115 !CallerAttr.hasAttribute(AttributeSet::FunctionIndex, in AdjustCallerSSPLevel()
117 !CallerAttr.hasAttribute(AttributeSet::FunctionIndex, in AdjustCallerSSPLevel()
276 Caller->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in getInlineThreshold()
[all …]
H A DPruneEH.cpp151 F->getContext(), AttributeSet::FunctionIndex, NewAttributes); in runOnSCC()
155 F->addAttributes(AttributeSet::FunctionIndex, NPAL); in runOnSCC()
H A DDeadArgumentElimination.cpp254 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in DeleteDeadVarargs()
845 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in RemoveDeadStuffFromFunction()
927 if (CallPAL.hasAttributes(AttributeSet::FunctionIndex)) in RemoveDeadStuffFromFunction()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMipsTargetMachine.cpp96 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-cpu"); in getSubtargetImpl()
98 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-features"); in getSubtargetImpl()
107 !FnAttrs.getAttribute(AttributeSet::FunctionIndex, "mips16") in getSubtargetImpl()
110 !FnAttrs.getAttribute(AttributeSet::FunctionIndex, "nomips16") in getSubtargetImpl()
119 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "use-soft-float"); in getSubtargetImpl()
H A DMips16HardFloat.cpp400 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall()
402 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall()
404 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall()
483 A = A.addAttribute(F.getContext(), AttributeSet::FunctionIndex, in removeUseSoftFloat()
485 F.removeAttributes(AttributeSet::FunctionIndex, A); in removeUseSoftFloat()
489 F.addAttributes(AttributeSet::FunctionIndex, A); in removeUseSoftFloat()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp45 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrLen()
73 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrNLen()
101 AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrChr()
128 AS[2] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrNCmp()
158 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, in EmitStrCpy()
182 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, in EmitStrNCpy()
208 AS = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, in EmitMemCpyChk()
237 AS = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitMemChr()
266 AS[2] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitMemCmp()
372 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, in EmitPutS()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h134 AttributeSet().addAttribute(C, AttributeSet::FunctionIndex, in getVoidRetI8XEntryPoint()
154 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex,
171 AttributeSet().addAttribute(C, AttributeSet::FunctionIndex, in getI8XRetI8XXI8XEntryPoint()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetMachine.cpp79 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-cpu"); in getSubtargetImpl()
81 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-features"); in getSubtargetImpl()
96 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "use-soft-float"); in getSubtargetImpl()
H A DX86PadShortFunction.cpp97 if (FnAttrs.hasAttribute(AttributeSet::FunctionIndex, in runOnMachineFunction()
99 FnAttrs.hasAttribute(AttributeSet::FunctionIndex, in runOnMachineFunction()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPUMachineFunction.cpp19 Attribute A = Set.getAttribute(AttributeSet::FunctionIndex, in AMDGPUMachineFunction()
H A DSITypeRewriter.cpp65 Attribute A = Set.getAttribute(AttributeSet::FunctionIndex, "ShaderType"); in runOnFunction()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DStackProtector.cpp94 AttributeSet::FunctionIndex, "stack-protector-buffer-size"); in runOnFunction()
204 if (F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in RequiresStackProtector()
208 } else if (F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in RequiresStackProtector()
211 else if (!F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in RequiresStackProtector()
H A DMachineFunction.cpp70 if (Fn->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in MachineFunction()
73 getStackAlignment(AttributeSet::FunctionIndex)); in MachineFunction()
79 if (!Fn->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in MachineFunction()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCTargetMachine.cpp120 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-cpu"); in getSubtargetImpl()
122 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-features"); in getSubtargetImpl()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetMachine.cpp131 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-cpu"); in getSubtargetImpl()
133 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-features"); in getSubtargetImpl()
148 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "use-soft-float"); in getSubtargetImpl()
H A DARMSubtarget.cpp394 AttributeSet::FunctionIndex, Attribute::MinSize)); in useMovt()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.cpp126 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-cpu"); in getSubtargetImpl()
128 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-features"); in getSubtargetImpl()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp538 AttributeSet::FunctionIndex, in buildWrapperFunction()
539 AttributeSet().addAttribute(*Ctx, AttributeSet::FunctionIndex, in buildWrapperFunction()
616 F->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind); in runOnModule()
617 F->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); in runOnModule()
624 F->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind); in runOnModule()
625 F->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); in runOnModule()
633 F->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind); in runOnModule()
634 F->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadOnly); in runOnModule()
690 ReadOnlyNoneAttrs = AttributeSet::get(*Ctx, AttributeSet::FunctionIndex, B); in runOnModule()
752 NewF->removeAttributes(AttributeSet::FunctionIndex, ReadOnlyNoneAttrs); in runOnModule()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp145 Call->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); in optimizeSQRT()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/
H A DTargetMachine.cpp57 .getAttribute(AttributeSet::FunctionIndex, Y) \ in resetTargetOptions()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DVerifier.cpp984 if (!Attrs.hasAttributes(AttributeSet::FunctionIndex)) in VerifyFunctionAttrs()
987 VerifyAttributeTypes(Attrs, AttributeSet::FunctionIndex, true, V); in VerifyFunctionAttrs()
989 Assert1(!(Attrs.hasAttribute(AttributeSet::FunctionIndex, in VerifyFunctionAttrs()
991 Attrs.hasAttribute(AttributeSet::FunctionIndex, in VerifyFunctionAttrs()
995 Assert1(!(Attrs.hasAttribute(AttributeSet::FunctionIndex, in VerifyFunctionAttrs()
997 Attrs.hasAttribute(AttributeSet::FunctionIndex, in VerifyFunctionAttrs()
1001 if (Attrs.hasAttribute(AttributeSet::FunctionIndex, in VerifyFunctionAttrs()
1003 Assert1(Attrs.hasAttribute(AttributeSet::FunctionIndex, in VerifyFunctionAttrs()
1007 Assert1(!Attrs.hasAttribute(AttributeSet::FunctionIndex, in VerifyFunctionAttrs()
1011 Assert1(!Attrs.hasAttribute(AttributeSet::FunctionIndex, in VerifyFunctionAttrs()
[all …]
H A DAsmWriter.cpp698 if (FnAttrs.hasAttributes(AttributeSet::FunctionIndex)) in processModule()
744 if (Attrs.hasAttributes(AttributeSet::FunctionIndex)) in processFunction()
749 if (Attrs.hasAttributes(AttributeSet::FunctionIndex)) in processFunction()
863 assert(AS.hasAttributes(AttributeSet::FunctionIndex) && in CreateAttributeSetSlot()
1884 if (Attrs.hasAttributes(AttributeSet::FunctionIndex)) { in printFunction()
1890 if (AS.getSlotIndex(Idx) == AttributeSet::FunctionIndex) in printFunction()
1964 if (Attrs.hasAttributes(AttributeSet::FunctionIndex)) in printFunction()
2268 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in printInstruction()
2308 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in printInstruction()
2476 << I->first.getAsString(AttributeSet::FunctionIndex, true) << " }\n"; in writeAllAttributeGroups()

1234