| 813 | } |
| 814 | |
| 815 | void LlvmCodeGen::SetNoInline(llvm::Function* function) const { |
| 816 | function->removeFnAttr(llvm::Attribute::AlwaysInline); |
| 817 | function->removeFnAttr(llvm::Attribute::InlineHint); |
| 818 | function->addFnAttr(llvm::Attribute::NoInline); |
| 819 | } |
| 820 | |
| 821 | void LlvmCodeGen::SetCPUAttrs(llvm::Function* function) { |
| 822 | // Set all functions' "target-cpu" and "target-features" to match the |
no outgoing calls
no test coverage detected