/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/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Function.h | 178 void addFnAttr(Attribute::AttrKind Kind) { in addFnAttr() function 183 void addFnAttr(StringRef Kind, StringRef Val = StringRef()) { 188 void addFnAttr(Attribute Attr) { in addFnAttr() function 313 addFnAttr(Attribute::ReadNone); in setDoesNotAccessMemory() 321 addFnAttr(Attribute::ReadOnly); in setOnlyReadsMemory() 329 addFnAttr(Attribute::WriteOnly); in setDoesNotReadMemory() 337 void setOnlyAccessesArgMemory() { addFnAttr(Attribute::ArgMemOnly); } in setOnlyAccessesArgMemory() 345 addFnAttr(Attribute::InaccessibleMemOnly); in setOnlyAccessesInaccessibleMemory() 354 addFnAttr(Attribute::InaccessibleMemOrArgMemOnly); in setOnlyAccessesInaccessibleMemOrArgMem() 362 addFnAttr(Attribute::NoReturn); in setDoesNotReturn() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Function.h | 216 void addFnAttr(Attribute::AttrKind Kind) { in addFnAttr() function 221 void addFnAttr(StringRef Kind, StringRef Val = StringRef()) { 227 void addFnAttr(Attribute Attr) { in addFnAttr() function 450 addFnAttr(Attribute::ReadNone); in setDoesNotAccessMemory() 458 addFnAttr(Attribute::ReadOnly); in setOnlyReadsMemory() 466 addFnAttr(Attribute::WriteOnly); in setDoesNotReadMemory() 474 void setOnlyAccessesArgMemory() { addFnAttr(Attribute::ArgMemOnly); } in setOnlyAccessesArgMemory() 482 addFnAttr(Attribute::InaccessibleMemOnly); in setOnlyAccessesInaccessibleMemory() 491 addFnAttr(Attribute::InaccessibleMemOrArgMemOnly); in setOnlyAccessesInaccessibleMemOrArgMem() 499 addFnAttr(Attribute::NoReturn); in setDoesNotReturn() [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-7.0/llvm/lib/Target/Mips/ |
D | Mips16HardFloat.cpp | 272 FStub->addFnAttr("mips16_fp_stub"); in assureFPCallStub() 273 FStub->addFnAttr(Attribute::Naked); in assureFPCallStub() 274 FStub->addFnAttr(Attribute::NoInline); in assureFPCallStub() 275 FStub->addFnAttr(Attribute::NoUnwind); in assureFPCallStub() 276 FStub->addFnAttr("nomips16"); in assureFPCallStub() 424 F.addFnAttr("saveS2"); in fixupFPReturnAndCall() 431 F.addFnAttr("saveS2"); in fixupFPReturnAndCall() 457 FStub->addFnAttr("mips16_fp_stub"); in createFPFnStub() 458 FStub->addFnAttr(Attribute::Naked); in createFPFnStub() 459 FStub->addFnAttr(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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAnnotateKernelFeatures.cpp | 191 Parent.addFnAttr(Name); in handleAttr() 255 F.addFnAttr(AttrName); in addFeatureAttributes() 285 F.addFnAttr("amdgpu-queue-ptr"); in addFeatureAttributes() 293 F.addFnAttr("amdgpu-flat-scratch"); in addFeatureAttributes()
|
D | AMDGPUOpenCLEnqueuedBlockLowering.cpp | 138 F.addFnAttr("runtime-handle", RuntimeHandle); in runOnModule() 148 F->addFnAttr("calls-enqueue-kernel"); in runOnModule()
|
D | AMDGPUAlwaysInlinePass.cpp | 148 F->addFnAttr(Attribute::AlwaysInline); in runOnModule() 151 F->addFnAttr(Attribute::NoInline); in runOnModule()
|
/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()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 743 F->addFnAttr(Attribute::NoInline); in emitProfileArcs() 745 F->addFnAttr(Attribute::NoRedZone); in emitProfileArcs() 910 WriteoutF->addFnAttr(Attribute::NoInline); in insertCounterWriteout() 912 WriteoutF->addFnAttr(Attribute::NoRedZone); in insertCounterWriteout() 1130 Fn->addFnAttr(Attribute::NoInline); in insertIndirectCounterIncrement() 1132 Fn->addFnAttr(Attribute::NoRedZone); in insertIndirectCounterIncrement() 1186 FlushF->addFnAttr(Attribute::NoInline); in insertFlush() 1188 FlushF->addFnAttr(Attribute::NoRedZone); in insertFlush()
|
D | InstrProfiling.cpp | 892 RegisterF->addFnAttr(Attribute::NoRedZone); in emitRegistration() 938 User->addFnAttr(Attribute::NoInline); in emitRuntimeHook() 940 User->addFnAttr(Attribute::NoRedZone); in emitRuntimeHook() 986 F->addFnAttr(Attribute::NoInline); in emitInitialization() 988 F->addFnAttr(Attribute::NoRedZone); in emitInitialization()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | llvm_util.cc | 616 function->addFnAttr("no-frame-pointer-elim", "false"); in CreateCpuFunction() 623 function->addFnAttr("unsafe-fp-math", "true"); in CreateCpuFunction() 624 function->addFnAttr("no-signed-zeros-fp-math", "true"); in CreateCpuFunction() 627 function->addFnAttr("no-nans-fp-math", "true"); in CreateCpuFunction() 631 function->addFnAttr("no-infs-fp-math", "true"); in CreateCpuFunction() 639 function->addFnAttr(llvm::Attribute::OptimizeForSize); in CreateCpuFunction()
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 160 F->addFnAttr(Attribute::NoUnwind); in runImpl() 165 F->addFnAttr(Attribute::NoReturn); in runImpl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 156 F->addFnAttr(Attribute::NoUnwind); in runImpl() 161 F->addFnAttr(Attribute::NoReturn); in runImpl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Attributes.cpp | 1641 Caller.addFnAttr(Attribute::StackProtectReq); in adjustCallerSSPLevel() 1645 Caller.addFnAttr(Attribute::StackProtectStrong); in adjustCallerSSPLevel() 1649 Caller.addFnAttr(Attribute::StackProtect); in adjustCallerSSPLevel() 1657 Caller.addFnAttr(Callee.getFnAttribute("probe-stack")); in adjustCallerStackProbes() 1677 Caller.addFnAttr(Callee.getFnAttribute("stack-probe-size")); in adjustCallerStackProbeSize() 1680 Caller.addFnAttr(Callee.getFnAttribute("stack-probe-size")); in adjustCallerStackProbeSize() 1704 Caller.addFnAttr(Callee.getFnAttribute("min-legal-vector-width")); in adjustMinLegalVectorWidth() 1707 Caller.addFnAttr(Callee.getFnAttribute("min-legal-vector-width")); in adjustMinLegalVectorWidth() 1717 Caller.addFnAttr(Callee.getFnAttribute("null-pointer-is-valid")); in adjustNullPointerValidAttr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | MemoryBuiltinsTest.cpp | 33 AllocSizeFn->addFnAttr(Attribute::getWithAllocSizeArgs(Context, 1, None)); in TEST()
|
/external/bcc/src/cc/ |
D | bpf_module.cc | 168 fprintf_fn->addFnAttr(Attribute::NoUnwind); in debug_printf() 346 sscanf_fn->addFnAttr(Attribute::NoUnwind); in make_reader() 448 snprintf_fn->addFnAttr(Attribute::NoUnwind); in make_writer() 499 fn->addFnAttr(Attribute::AlwaysInline); in annotate_light() 513 fn->addFnAttr(Attribute::AlwaysInline); in annotate()
|