Home
last modified time | relevance | path

Searched refs:cg (Results 1 – 25 of 119) sorted by relevance

12345

/llvm-project-15.0.7/llvm/tools/lto/
H A Dlto.cpp370 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 Dlto.h404 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 DInliner.cpp163 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 Dmain.c6 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 DCGOps.cpp35 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 DPreCGRewrite.cpp100 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 Dcall-graph-profile.test1 ## 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 Ddemangle.test8 # 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 DCallGraph.h248 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 Dstack-clash-protection.ll12 ; 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 Dint-cmp-07.ll19 ; 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 Dstack-clash-dynamic-alloca.ll23 ; 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 Dswp-vect-dotprod.ll1 ; 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 Dswp-check-offset.ll1 ; 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 Dswp-vsum.ll1 ; 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 Dexecutionengine.ml66 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 DCallGraph.cpp70 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 Dcodegen-flags.test4 …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 Dcall-graph-profile-err.s3 # 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 Dlinkrepro.test7 # 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 DCallGraphSCCPass.h93 CallGraphSCC(CallGraph &cg, void *context) : CG(cg), Context(context) {} in CallGraphSCC() argument
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dasync-copy.ll104 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 Dcall-graph-profile-section.yaml6 # 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 Dcfi-nvcall.cpp27 extern "C" void cg(C *c) { in cg() function
/llvm-project-15.0.7/llvm/lib/Target/MSP430/
H A DMSP430RegisterInfo.td38 def CGB : MSP430Reg<3, "r3", ["cg"]>;
58 def CG : MSP430RegWithSubregs<3, "r3", [CGB], ["cg"]>;

12345