| /llvm-project-15.0.7/llvm/tools/lto/ |
| H A D | lto.cpp | 370 void lto_codegen_dispose(lto_code_gen_t cg) { delete unwrap(cg); } in lto_codegen_dispose() argument 405 return unwrap(cg)->setCpu(cpu); in lto_codegen_set_cpu() 426 lto_add_attrs(cg); in maybeParseOptions() 432 maybeParseOptions(cg); in lto_codegen_write_merged_modules() 437 maybeParseOptions(cg); in lto_codegen_compile() 447 maybeParseOptions(cg); in lto_codegen_optimize() 448 return !unwrap(cg)->optimize(); in lto_codegen_optimize() 452 maybeParseOptions(cg); in lto_codegen_compile_optimized() 462 maybeParseOptions(cg); in lto_codegen_compile_to_file() 547 void thinlto_codegen_dispose(thinlto_code_gen_t cg) { delete unwrap(cg); } in thinlto_codegen_dispose() argument [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | lto.h | 404 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); 415 lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); 441 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu); 494 lto_codegen_compile(lto_code_gen_t cg, size_t* length); 514 lto_codegen_optimize(lto_code_gen_t cg); 565 lto_codegen_debug_options(lto_code_gen_t cg, const char *); 592 lto_codegen_set_should_internalize(lto_code_gen_t cg, 604 lto_codegen_set_should_embed_uselists(lto_code_gen_t cg, 695 extern void thinlto_codegen_dispose(thinlto_code_gen_t cg); 718 extern void thinlto_codegen_process(thinlto_code_gen_t cg); [all …]
|
| /llvm-project-15.0.7/mlir/lib/Transforms/ |
| H A D | Inliner.cpp | 163 for (CallGraphNode *node : cg) in CGUseList() 164 recomputeUses(node, cg); in CGUseList() 168 CallGraph &cg) { in dropCallUses() argument 289 const CallGraph &cg, in runTransformOnCGSCCs() argument 398 : InlinerInterface(context), cg(cg), symbolTable(symbolTable) {} in Inliner() 407 while (!(node = cg.lookupNode(region))) { in processInlinedBlocks() 433 CallGraph &cg; member 461 CallGraph &cg = inliner.cg; in inlineCallsInSCC() local 663 CallGraph &cg = getAnalysis<CallGraph>(); in runOnOperation() local 677 Inliner inliner(context, cg, symbolTable); in runOnOperation() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/lang/c/blocks/ |
| H A D | main.c | 6 struct CG cg = {.x=1,.y=2}; variable 8 int z = callback(cg); // Set breakpoint 2 here. 13 int h(struct CG cg){return 42;} in h() argument 32 int (^add_struct)(struct CG) = ^int(struct CG cg) in main() 34 return cg.x + cg.y; in main()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | CGOps.cpp | 35 unsigned fir::cg::XEmboxOp::getOutRank() { in getOutRank() 43 unsigned fir::cg::XReboxOp::getOutRank() { in getOutRank() 50 unsigned fir::cg::XReboxOp::getRank() { in getRank() 57 unsigned fir::cg::XArrayCoorOp::getRank() { in getRank()
|
| H A D | PreCGRewrite.cpp | 100 auto xbox = rewriter.create<fir::cg::XEmboxOp>( in rewriteStaticShape() 135 auto xbox = rewriter.create<fir::cg::XEmboxOp>( in rewriteDynamicShape() 192 auto xRebox = rewriter.create<fir::cg::XReboxOp>( in matchAndRewrite() 250 auto xArrCoor = rewriter.create<fir::cg::XArrayCoorOp>( in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | call-graph-profile.test | 1 ## This test checks how we handle the --elf-cg-profile option. 4 # RUN: llvm-readobj %t.o --cg-profile | FileCheck %s --check-prefix=LLVM 5 # RUN: llvm-readelf %t.o --cg-profile | FileCheck %s --check-prefix=GNU 6 # RUN: llvm-readobj %t.o --elf-cg-profile | FileCheck %s --check-prefix=LLVM 7 # RUN: llvm-readelf %t.o --elf-cg-profile | FileCheck %s --check-prefix=GNU 58 # RUN: llvm-readobj %t2.o --cg-profile 2>&1 | FileCheck %s -DFILE=%t2.o --check-prefix=LLVM-ERR 59 # RUN: llvm-readelf %t2.o --cg-profile | FileCheck %s --check-prefix=GNU 65 # RUN: llvm-readobj %t3.o --cg-profile 2>&1 | FileCheck %s -DFILE=%t3.o --check-prefix=LLVM-BROKEN-… 66 # RUN: llvm-readelf %t3.o --cg-profile | FileCheck %s --check-prefix=GNU 258 # RUN: llvm-readobj %t7.o --cg-profile | FileCheck %s --check-prefix=LLVM-RELA [all …]
|
| H A D | demangle.test | 8 # RUN: --section-groups --cg-profile --addrsig \ 11 # RUN: --section-groups --cg-profile --addrsig \ 18 # RUN: --section-groups --cg-profile --addrsig \ 21 # RUN: --section-groups --cg-profile --addrsig \
|
| /llvm-project-15.0.7/mlir/include/mlir/Analysis/ |
| H A D | CallGraph.h | 248 static NodeRef getEntryNode(const mlir::CallGraph *cg) { 249 return cg->getExternalNode(); 254 static nodes_iterator nodes_begin(mlir::CallGraph *cg) { return cg->begin(); } 255 static nodes_iterator nodes_end(mlir::CallGraph *cg) { return cg->end(); }
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | stack-clash-protection.ll | 12 ; CHECK-NEXT: cg %r0, 552(%r15) 31 ; CHECK-NEXT: cg %r0, 4088(%r15) 34 ; CHECK-NEXT: cg %r0, 4072(%r15) 57 ; CHECK-NEXT: cg %r0, 4088(%r15) 63 ; CHECK-NEXT: cg %r0, 2536(%r15) 91 ; CHECK-NEXT: cg %r0, 4088(%r15) 120 ; CHECK-NEXT: cg %r0, 8184(%r15) 126 ; CHECK-NEXT: cg %r0, 7600(%r15) 147 ; CHECK-NEXT: cg %r0, 4088(%r15) 150 ; CHECK-NEXT: cg %r0, 80(%r15) [all …]
|
| H A D | int-cmp-07.ll | 19 ; CHECK: cg %r2, 0(%r3) 32 ; CHECK: cg %r2, 524280(%r3) 48 ; CHECK: cg %r2, 0(%r3) 62 ; CHECK: cg %r2, -8(%r3) 76 ; CHECK: cg %r2, -524288(%r3) 92 ; CHECK: cg %r2, 0(%r3) 106 ; CHECK: cg %r2, 524280({{%r4,%r3|%r3,%r4}}) 122 ; CHECK: cg %r2, 0(%r3)
|
| H A D | stack-clash-dynamic-alloca.ll | 23 ; CHECK-NEXT: cg %r15, 4088(%r15) 30 ; CHECK-NEXT: cg %r15, -8(%r1,%r15) 66 ; CHECK-NEXT: cg %r15, 1240(%r15) 73 ; CHECK-NEXT: cg %r15, -8(%r1,%r15) 101 ; CHECK-NEXT: cg %r0, 0(%r15) 115 ; CHECK-NEXT: cg %r15, 0(%r15) 121 ; CHECK-NEXT: cg %r15, -8(%r1,%r15)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/ |
| H A D | swp-vect-dotprod.ll | 1 ; RUN: llc -march=hexagon -mcpu=hexagonv5 -enable-pipeliner < %s -pipeliner-experimental-cg=true | … 2 ; RUN: llc -march=hexagon -mcpu=hexagonv5 -O2 < %s -pipeliner-experimental-cg=true | FileCheck %s 3 ; RUN: llc -march=hexagon -mcpu=hexagonv5 -O3 < %s -pipeliner-experimental-cg=true | FileCheck %s 4 ; RUN: llc -march=hexagon -mcpu=hexagonv5 -enable-pipeliner < %s -pipeliner-experimental-cg=true -e…
|
| H A D | swp-check-offset.ll | 1 ; RUN: llc -march=hexagon -mcpu=hexagonv5 -enable-pipeliner < %s -pipeliner-experimental-cg=true | … 2 ; RUN: llc -march=hexagon -mcpu=hexagonv62 -enable-pipeliner < %s -pipeliner-experimental-cg=true |… 3 ; RUN: llc -march=hexagon -mcpu=hexagonv65 -enable-pipeliner < %s -pipeliner-experimental-cg=true |…
|
| H A D | swp-vsum.ll | 1 ; RUN: llc -march=hexagon -mcpu=hexagonv5 -enable-pipeliner < %s -pipeliner-experimental-cg=true | … 2 ; RUN: llc -march=hexagon -mcpu=hexagonv60 -enable-pipeliner < %s -pipeliner-experimental-cg=true |…
|
| /llvm-project-15.0.7/llvm/test/Bindings/OCaml/ |
| H A D | executionengine.ml | 66 let cg = coerce (Foreign.funptr (void @-> returning int32_t)) (ptr void) 68 add_global_mapping g cg ee; 71 let cg' = get_pointer_to_global g (ptr void) ee in 72 if 0 <> ptr_compare cg cg' then bomb "int pointers to g differ";
|
| /llvm-project-15.0.7/mlir/lib/Analysis/ |
| H A D | CallGraph.cpp | 70 static void computeCallGraph(Operation *op, CallGraph &cg, in computeCallGraph() argument 78 parentNode->addCallEdge(cg.resolveCallable(call, symbolTable)); in computeCallGraph() 85 parentNode = cg.getOrAddNode(callableRegion, parentNode); in computeCallGraph() 92 computeCallGraph(&nested, cg, symbolTable, parentNode, resolveCalls); in computeCallGraph()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | codegen-flags.test | 4 …c++ -fmodules -emit-module -fmodule-name=foo %S/Inputs/codegen-flags/foo.modulemap -o %t/foo-cg.pcm 7 RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -debug-info-kind=limited -o - %t/foo-cg.pcm | F… 10 …nu -emit-llvm -debug-info-kind=limited -o - -fmodules -fmodule-file=%t/foo-cg.pcm %S/Inputs/codege…
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/COFF/ |
| H A D | call-graph-profile-err.s | 3 # RUN: not llvm-readobj %t --cg-profile 2>&1 | FileCheck --check-prefix=ERR %s 5 ## In order to use --cg-profile option, the section ".llvm.call-graph-profile"
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | linkrepro.test | 7 # RUN: touch %t.cg 86 # RUN: /entry:main@0 /linkrepro:. /out:%t.exe /call-graph-ordering-file:%t.cg 90 # RUN: diff %t.cg repro/%:t.cg 96 # LISTCG: .cg
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | CallGraphSCCPass.h | 93 CallGraphSCC(CallGraph &cg, void *context) : CG(cg), Context(context) {} in CallGraphSCC() argument
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | async-copy.ll | 104 declare void @llvm.nvvm.cp.async.cg.shared.global.16(i8 addrspace(3)* %a, i8 addrspace(1)* %b) 108 ; CHECK_PTX32: cp.async.cg.shared.global [%r{{[0-9]+}}], [%r{{[0-9]+}}], 16; 109 ; CHECK_PTX64: cp.async.cg.shared.global [%rd{{[0-9]+}}], [%rd{{[0-9]+}}], 16; 110 tail call void @llvm.nvvm.cp.async.cg.shared.global.16(i8 addrspace(3)* %a, i8 addrspace(1)* %b)
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/ |
| H A D | call-graph-profile-section.yaml | 6 # RUN: llvm-readobj --cg-profile --sections --section-data %t.le64 | FileCheck %s --check-prefixes=… 8 # RUN: llvm-readobj --cg-profile --sections --section-data %t.be64 | FileCheck %s --check-prefixes=… 10 # RUN: llvm-readobj --cg-profile --sections --section-data %t.le32 | FileCheck %s --check-prefixes=… 12 # RUN: llvm-readobj --cg-profile --sections --section-data %t.be32 | FileCheck %s --check-prefixes=…
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | cfi-nvcall.cpp | 27 extern "C" void cg(C *c) { in cg() function
|
| /llvm-project-15.0.7/llvm/lib/Target/MSP430/ |
| H A D | MSP430RegisterInfo.td | 38 def CGB : MSP430Reg<3, "r3", ["cg"]>; 58 def CG : MSP430RegWithSubregs<3, "r3", [CGB], ["cg"]>;
|