1 ; RUN: opt -time-trace -time-trace-file %t.json \
2 ; RUN: -disable-output -disable-verify \
3 ; RUN: -passes='default<O3>' %s
5 ; RUN: | %python -c 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_keys=True, indent=2)' \
8 ; CHECK: "name": "Total FunctionToLoopPassAdaptor
10 define void @foo(i1 %x, ptr %p1, ptr %p2) {
13 br i1 %x, label %loop, label %exit
16 %tmp1 = load i8, ptr %p2