You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
22
external/llvm/test/tools/opt-viewer/Inputs/unicode-function-name/s.opt.yaml
vendored
Normal file
22
external/llvm/test/tools/opt-viewer/Inputs/unicode-function-name/s.opt.yaml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
--- !Passed
|
||||
Pass: sil-inliner
|
||||
Name: sil.Inlined
|
||||
DebugLoc:
|
||||
File: s.swift
|
||||
Line: 12
|
||||
Column: 16
|
||||
Function: main
|
||||
Args:
|
||||
- Callee: '"s.• infix(_:_:)"'
|
||||
DebugLoc:
|
||||
File: s.swift
|
||||
Line: 3
|
||||
Column: 6
|
||||
- String: ' inlined into '
|
||||
- Caller: '"main"'
|
||||
- String: ' (cost = '
|
||||
- Cost: '2'
|
||||
- String: ', benefit = '
|
||||
- Benefit: '40'
|
||||
- String: ')'
|
||||
...
|
12
external/llvm/test/tools/opt-viewer/Inputs/unicode-function-name/s.swift
vendored
Normal file
12
external/llvm/test/tools/opt-viewer/Inputs/unicode-function-name/s.swift
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
infix operator •: AdditionPrecedence
|
||||
|
||||
func • (a: Int, b: Int) -> Int {
|
||||
return a * b
|
||||
}
|
||||
|
||||
@inline(never)
|
||||
func g(a: Int) -> Int{
|
||||
return a + 1
|
||||
}
|
||||
|
||||
let i = g(a: 1 • 2)
|
Reference in New Issue
Block a user