Home
last modified time | relevance | path

Searched refs:addFnAttr (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/include/llvm/IR/
DFunction.h169 void addFnAttr(Attribute::AttrKind N) {
181 void addFnAttr(StringRef Kind) {
186 void addFnAttr(StringRef Kind, StringRef Value) {
290 addFnAttr(Attribute::ReadNone);
298 addFnAttr(Attribute::ReadOnly);
306 addFnAttr(Attribute::WriteOnly);
314 void setOnlyAccessesArgMemory() { addFnAttr(Attribute::ArgMemOnly); }
322 addFnAttr(Attribute::InaccessibleMemOnly);
331 addFnAttr(Attribute::InaccessibleMemOrArgMemOnly);
339 addFnAttr(Attribute::NoReturn);
[all …]
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp278 FStub->addFnAttr("mips16_fp_stub"); in assureFPCallStub()
279 FStub->addFnAttr(llvm::Attribute::Naked); in assureFPCallStub()
280 FStub->addFnAttr(llvm::Attribute::NoInline); in assureFPCallStub()
281 FStub->addFnAttr(llvm::Attribute::NoUnwind); in assureFPCallStub()
282 FStub->addFnAttr("nomips16"); in assureFPCallStub()
433 F.addFnAttr("saveS2"); in fixupFPReturnAndCall()
440 F.addFnAttr("saveS2"); in fixupFPReturnAndCall()
466 FStub->addFnAttr("mips16_fp_stub"); in createFPFnStub()
467 FStub->addFnAttr(llvm::Attribute::Naked); in createFPFnStub()
468 FStub->addFnAttr(llvm::Attribute::NoUnwind); in createFPFnStub()
[all …]
DMipsOs16.cpp134 F.addFnAttr("nomips16"); in runOnModule()
148 F.addFnAttr("nomips16"); in runOnModule()
152 F.addFnAttr("mips16"); in runOnModule()
/external/swiftshader/third_party/LLVM/include/llvm/
DFunction.h183 void addFnAttr(Attributes N) {
223 if (DoesNotAccessMemory) addFnAttr(Attribute::ReadNone);
232 if (OnlyReadsMemory) addFnAttr(Attribute::ReadOnly);
241 if (DoesNotReturn) addFnAttr(Attribute::NoReturn);
250 if (DoesNotThrow) addFnAttr(Attribute::NoUnwind);
261 addFnAttr(Attribute::UWTable);
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp151 CallingFunction->addFnAttr(AttrName); in addAttrToCallers()
211 F.addFnAttr("amdgpu-queue-ptr"); in runOnModule()
DAMDGPUAlwaysInlinePass.cpp55 F.addFnAttr(Attribute::AlwaysInline); in runOnModule()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp688 F->addFnAttr(Attribute::NoInline); in emitProfileArcs()
690 F->addFnAttr(Attribute::NoRedZone); in emitProfileArcs()
838 WriteoutF->addFnAttr(Attribute::NoInline); in insertCounterWriteout()
840 WriteoutF->addFnAttr(Attribute::NoRedZone); in insertCounterWriteout()
899 Fn->addFnAttr(Attribute::NoInline); in insertIndirectCounterIncrement()
901 Fn->addFnAttr(Attribute::NoRedZone); in insertIndirectCounterIncrement()
955 FlushF->addFnAttr(Attribute::NoInline); in insertFlush()
957 FlushF->addFnAttr(Attribute::NoRedZone); in insertFlush()
DInstrProfiling.cpp512 RegisterF->addFnAttr(Attribute::NoRedZone); in emitRegistration()
559 User->addFnAttr(Attribute::NoInline); in emitRuntimeHook()
561 User->addFnAttr(Attribute::NoRedZone); in emitRuntimeHook()
615 F->addFnAttr(Attribute::NoInline); in emitInitialization()
617 F->addFnAttr(Attribute::NoRedZone); in emitInitialization()
DPGOInstrumentation.cpp905 F->addFnAttr(llvm::Attribute::InlineHint); in annotateAllFunctions()
910 F->addFnAttr(llvm::Attribute::Cold); in annotateAllFunctions()
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp160 F->addFnAttr(Attribute::NoUnwind); in runImpl()
165 F->addFnAttr(Attribute::NoReturn); in runImpl()
DForceFunctionAttrs.cpp79 F.addFnAttr(Kind); in addForcedAttributes()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp687 Fn->addFnAttr(llvm::Attribute::SanitizeAddress); in StartFunction()
689 Fn->addFnAttr(llvm::Attribute::SanitizeThread); in StartFunction()
691 Fn->addFnAttr(llvm::Attribute::SanitizeMemory); in StartFunction()
693 Fn->addFnAttr(llvm::Attribute::SafeStack); in StartFunction()
699 Fn->addFnAttr("function-instrument", "xray-always"); in StartFunction()
701 Fn->addFnAttr("function-instrument", "xray-never"); in StartFunction()
703 Fn->addFnAttr( in StartFunction()
719 Fn->addFnAttr(llvm::Attribute::InlineHint); in StartFunction()
724 Fn->addFnAttr(llvm::Attribute::NoInline); in StartFunction()
726 Fn->addFnAttr(llvm::Attribute::NoInline); in StartFunction()
[all …]
DCGDeclCXX.cpp281 Fn->addFnAttr(llvm::Attribute::SanitizeAddress); in CreateGlobalInitOrDestructFunction()
283 Fn->addFnAttr(llvm::Attribute::SanitizeThread); in CreateGlobalInitOrDestructFunction()
285 Fn->addFnAttr(llvm::Attribute::SanitizeMemory); in CreateGlobalInitOrDestructFunction()
287 Fn->addFnAttr(llvm::Attribute::SafeStack); in CreateGlobalInitOrDestructFunction()
DCGOpenMPRuntimeNVPTX.cpp109 WorkerFn->addFnAttr(llvm::Attribute::NoInline); in createWorkerFunction()
371 OutlinedFun->addFnAttr(llvm::Attribute::AlwaysInline); in emitParallelOrTeamsOutlinedFunction()
DTargetInfo.cpp2178 Fn->addFnAttr("stack-probe-size", in addStackProbeSizeTargetAttribute()
5106 Fn->addFnAttr("interrupt", Kind); in setTargetAttributes()
5731 F->addFnAttr(llvm::Attribute::NoInline); in setTargetAttributes()
6166 F->addFnAttr(llvm::Attribute::NoInline); in setTargetAttributes()
6220 Fn->addFnAttr("mips16"); in setTargetAttributes()
6223 Fn->addFnAttr("nomips16"); in setTargetAttributes()
6243 Fn->addFnAttr("interrupt", Kind); in setTargetAttributes()
6591 F->addFnAttr(llvm::Attribute::NoInline); in setTargetAttributes()
6900 F->addFnAttr("amdgpu_num_vgpr", llvm::utostr(NumVGPR)); in setTargetAttributes()
6907 F->addFnAttr("amdgpu_num_sgpr", llvm::utostr(NumSGPR)); in setTargetAttributes()
DItaniumCXXABI.cpp2221 Wrapper->addFnAttr(llvm::Attribute::NoUnwind); in getOrCreateThreadLocalWrapper()
2254 InitFunc->addFnAttr(llvm::Attribute::NoUnwind); in EmitThreadLocalInitFuncs()
3833 fn->addFnAttr(llvm::Attribute::NoInline); in getClangCallTerminateFn()
DCGClass.cpp1584 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody()
1711 CGF.CurFn->addFnAttr("disable-tail-calls", "true"); in Emit()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInliner.cpp90 Caller->addFnAttr(Attribute::StackProtectReq); in InlineCallIfPossible()
93 Caller->addFnAttr(Attribute::StackProtect); in InlineCallIfPossible()
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp588 Func->addFnAttr(Attribute::NoUnwind); in transOCLBuiltinFromVariable()
589 Func->addFnAttr(Attribute::ReadNone); in transOCLBuiltinFromVariable()
1597 Func->addFnAttr(Attribute::NoUnwind); in transValueWithoutDecoration()
1841 F->addFnAttr(Attribute::NoUnwind); in transFunction()
1843 F->addFnAttr(Attr); in transFunction()
1995 Func->addFnAttr(Attribute::NoUnwind); in transBuiltinFromInst()
2395 F->addFnAttr(Attribute::NoUnwind); in transOCLBuiltinFromExtInst()
2406 addFnAttr(Context, Call, Attribute::NoUnwind); in transOCLBuiltinFromExtInst()
2451 Func->addFnAttr(Attribute::NoUnwind); in transOCLBarrier()
2500 Func->addFnAttr(Attribute::NoUnwind); in transOCLMemFence()
DSPIRVInternal.h524 void addFnAttr(LLVMContext *Context, CallInst *Call,
DSPIRVUtil.cpp79 addFnAttr(LLVMContext *Context, CallInst *Call, Attribute::AttrKind Attr) { in addFnAttr() function
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp185 F.addFnAttr("no-frame-pointer-elim", "true"); in runOnFunction()
423 Handler->addFnAttr("safeseh"); in linkExceptionRegistration()
/external/llvm/lib/IR/
DAttributes.cpp1617 Caller.addFnAttr(Attribute::StackProtectReq); in adjustCallerSSPLevel()
1621 Caller.addFnAttr(Attribute::StackProtectStrong); in adjustCallerSSPLevel()
1625 Caller.addFnAttr(Attribute::StackProtect); in adjustCallerSSPLevel()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h458 ClonedF->addFnAttr(Attribute::AlwaysInline); in emitPartition()
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/
DExceptionDemo.cpp1924 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions()
1944 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions()

12