/external/llvm/include/llvm/IR/ |
D | Function.h | 169 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/ |
D | Mips16HardFloat.cpp | 278 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 …]
|
D | MipsOs16.cpp | 134 F.addFnAttr("nomips16"); in runOnModule() 148 F.addFnAttr("nomips16"); in runOnModule() 152 F.addFnAttr("mips16"); in runOnModule()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Function.h | 183 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/ |
D | AMDGPUAnnotateKernelFeatures.cpp | 151 CallingFunction->addFnAttr(AttrName); in addAttrToCallers() 211 F.addFnAttr("amdgpu-queue-ptr"); in runOnModule()
|
D | AMDGPUAlwaysInlinePass.cpp | 55 F.addFnAttr(Attribute::AlwaysInline); in runOnModule()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 688 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()
|
D | InstrProfiling.cpp | 512 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()
|
D | PGOInstrumentation.cpp | 905 F->addFnAttr(llvm::Attribute::InlineHint); in annotateAllFunctions() 910 F->addFnAttr(llvm::Attribute::Cold); in annotateAllFunctions()
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 160 F->addFnAttr(Attribute::NoUnwind); in runImpl() 165 F->addFnAttr(Attribute::NoReturn); in runImpl()
|
D | ForceFunctionAttrs.cpp | 79 F.addFnAttr(Kind); in addForcedAttributes()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 687 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 …]
|
D | CGDeclCXX.cpp | 281 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()
|
D | CGOpenMPRuntimeNVPTX.cpp | 109 WorkerFn->addFnAttr(llvm::Attribute::NoInline); in createWorkerFunction() 371 OutlinedFun->addFnAttr(llvm::Attribute::AlwaysInline); in emitParallelOrTeamsOutlinedFunction()
|
D | TargetInfo.cpp | 2178 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()
|
D | ItaniumCXXABI.cpp | 2221 Wrapper->addFnAttr(llvm::Attribute::NoUnwind); in getOrCreateThreadLocalWrapper() 2254 InitFunc->addFnAttr(llvm::Attribute::NoUnwind); in EmitThreadLocalInitFuncs() 3833 fn->addFnAttr(llvm::Attribute::NoInline); in getClangCallTerminateFn()
|
D | CGClass.cpp | 1584 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/ |
D | Inliner.cpp | 90 Caller->addFnAttr(Attribute::StackProtectReq); in InlineCallIfPossible() 93 Caller->addFnAttr(Attribute::StackProtect); in InlineCallIfPossible()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVReader.cpp | 588 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()
|
D | SPIRVInternal.h | 524 void addFnAttr(LLVMContext *Context, CallInst *Call,
|
D | SPIRVUtil.cpp | 79 addFnAttr(LLVMContext *Context, CallInst *Call, Attribute::AttrKind Attr) { in addFnAttr() function
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 185 F.addFnAttr("no-frame-pointer-elim", "true"); in runOnFunction() 423 Handler->addFnAttr("safeseh"); in linkExceptionRegistration()
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 1617 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/ |
D | CompileOnDemandLayer.h | 458 ClonedF->addFnAttr(Attribute::AlwaysInline); in emitPartition()
|
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1924 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions() 1944 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions()
|