Home
last modified time | relevance | path

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

1234

/external/llvm/tools/lto/
Dlto.cpp135 void lto_codegen_dispose(lto_code_gen_t cg) { in lto_codegen_dispose() argument
136 delete cg; in lto_codegen_dispose()
142 bool lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod) { in lto_codegen_add_module() argument
143 return !cg->addModule(mod, sLastErrorString); in lto_codegen_add_module()
149 bool lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model debug) { in lto_codegen_set_debug_model() argument
150 cg->setDebugInfo(debug); in lto_codegen_set_debug_model()
156 bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model) { in lto_codegen_set_pic_model() argument
157 cg->setCodePICModel(model); in lto_codegen_set_pic_model()
162 void lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu) { in lto_codegen_set_cpu() argument
163 return cg->setCpu(cpu); in lto_codegen_set_cpu()
[all …]
/external/valgrind/main/cachegrind/
DMakefile.in78 cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-arch.$(OBJEXT) \
79 cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-x86-amd64.$(OBJEXT) \
80 cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-ppc32.$(OBJEXT) \
81 cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-ppc64.$(OBJEXT) \
82 cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-arm.$(OBJEXT) \
83 cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-s390x.$(OBJEXT) \
84 cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-mips32.$(OBJEXT)
90 cg-arch.c cg-x86-amd64.c cg-ppc32.c cg-ppc64.c cg-arm.c \
91 cg-s390x.c cg-mips32.c
94 cachegrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@-cg-arch.$(OBJEXT) \
[all …]
DMakefile.am4 docs/cg-manual.xml \
44 cg-arch.c \
45 cg-x86-amd64.c \
46 cg-ppc32.c \
47 cg-ppc64.c \
48 cg-arm.c \
49 cg-s390x.c \
50 cg-mips32.c
/external/skia/gm/
Dgammatext.cpp47 CGContextRef cg = CGBitmapContextCreate(bm.getPixels(), bm.width(), bm.height(), in makeCG() local
51 CGContextSetAllowsFontSubpixelQuantization(cg, false); in makeCG()
52 CGContextSetShouldSubpixelQuantizeFonts(cg, false); in makeCG()
54 return cg; in makeCG()
68 static void cgSetPaintForText(CGContextRef cg, const SkPaint& paint) { in cgSetPaintForText() argument
76 CGContextSetRGBFillColor(cg, rgba[0], rgba[1], rgba[2], rgba[3]); in cgSetPaintForText()
78 CGContextSetTextDrawingMode(cg, kCGTextFill); in cgSetPaintForText()
79 CGContextSetFont(cg, typefaceToCGFont(paint.getTypeface())); in cgSetPaintForText()
80 CGContextSetFontSize(cg, SkScalarToFloat(paint.getTextSize())); in cgSetPaintForText()
82 CGContextSetAllowsFontSubpixelPositioning(cg, paint.isSubpixelText()); in cgSetPaintForText()
[all …]
/external/llvm/include/llvm-c/
Dlto.h212 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
221 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model);
229 lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model);
236 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu);
244 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path);
250 lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
259 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol);
267 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path);
278 lto_codegen_compile(lto_code_gen_t cg, size_t* length);
285 lto_codegen_compile_to_file(lto_code_gen_t cg, const char** name);
[all …]
/external/valgrind/main/callgrind/
DMakefile.in87 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-arch.$(OBJEXT) \
88 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-x86-amd64.$(OBJEXT) \
89 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-ppc32.$(OBJEXT) \
90 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-ppc64.$(OBJEXT) \
91 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-arm.$(OBJEXT) \
92 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-s390x.$(OBJEXT) \
93 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@-cg-mips32.$(OBJEXT)
99 fn.c jumps.c main.c sim.c threads.c ../cachegrind/cg-arch.c \
100 ../cachegrind/cg-x86-amd64.c ../cachegrind/cg-ppc32.c \
101 ../cachegrind/cg-ppc64.c ../cachegrind/cg-arm.c \
[all …]
DMakefile.am48 ../cachegrind/cg-arch.c \
49 ../cachegrind/cg-x86-amd64.c \
50 ../cachegrind/cg-ppc32.c \
51 ../cachegrind/cg-ppc64.c \
52 ../cachegrind/cg-arm.c \
53 ../cachegrind/cg-s390x.c \
54 ../cachegrind/cg-mips32.c
/external/oprofile/daemon/
Dopd_sfile.c301 struct cg_entry * cg; in get_file() local
326 cg = list_entry(pos, struct cg_entry, hash); in get_file()
327 if (sfile_equal(last, &cg->to)) { in get_file()
328 file = &cg->to.files[trans->event]; in get_file()
333 cg = xmalloc(sizeof(struct cg_entry)); in get_file()
334 sfile_dup(&cg->to, last); in get_file()
335 list_add(&cg->hash, &sf->cg_hash[hash]); in get_file()
336 file = &cg->to.files[trans->event]; in get_file()
536 struct cg_entry * cg = in for_one_sfile() local
538 if (free_sf || func(&cg->to, data)) { in for_one_sfile()
[all …]
Dopd_mangling.c69 mangle_filename(struct sfile * last, struct sfile const * sf, int counter, int cg) in mangle_filename() argument
107 if (cg) { in mangle_filename()
142 struct sfile * sf, int counter, int cg) in opd_open_sample_file() argument
150 mangled = mangle_filename(last, sf, counter, cg); in opd_open_sample_file()
Dopd_ibs.c754 struct cg_entry * cg; in ibs_sfile_get() local
786 cg = list_entry(pos, struct cg_entry, hash); in ibs_sfile_get()
787 if (sfile_equal(last, &cg->to)) { in ibs_sfile_get()
788 file = &(cg->to.ext_files[ibs_vci]); in ibs_sfile_get()
793 cg = xmalloc(sizeof(struct cg_entry)); in ibs_sfile_get()
794 sfile_dup(&cg->to, last); in ibs_sfile_get()
795 list_add(&cg->hash, &sf->cg_hash[hash]); in ibs_sfile_get()
796 file = &(cg->to.ext_files[ibs_vci]); in ibs_sfile_get()
Dopd_mangling.h31 struct sfile * sf, int counter, int cg);
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp144 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap() argument
150 CGContextSaveGState(cg); in SkCGDrawBitmap()
151 CGContextTranslateCTM(cg, x, r.size.height + y); in SkCGDrawBitmap()
152 CGContextScaleCTM(cg, 1, -1); in SkCGDrawBitmap()
154 CGContextDrawImage(cg, r, img); in SkCGDrawBitmap()
156 CGContextRestoreGState(cg); in SkCGDrawBitmap()
/external/chromium_org/third_party/skia/src/utils/mac/
DSkCreateCGImageRef.cpp144 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap() argument
150 CGContextSaveGState(cg); in SkCGDrawBitmap()
151 CGContextTranslateCTM(cg, x, r.size.height + y); in SkCGDrawBitmap()
152 CGContextScaleCTM(cg, 1, -1); in SkCGDrawBitmap()
154 CGContextDrawImage(cg, r, img); in SkCGDrawBitmap()
156 CGContextRestoreGState(cg); in SkCGDrawBitmap()
/external/llvm/test/CodeGen/SystemZ/
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}})
/external/skia/src/views/mac/
DSkOSWindow_Mac.cpp172 CGContextRef cg = reinterpret_cast<CGContextRef>(ctx); in doPaint()
174 CGContextSaveGState(cg); in doPaint()
175 CGContextTranslateCTM(cg, 0, r.size.height); in doPaint()
176 CGContextScaleCTM(cg, 1, -1); in doPaint()
178 CGContextDrawImage(cg, r, img); in doPaint()
180 CGContextRestoreGState(cg); in doPaint()
390 CGContextRef cg; in EventHandler() local
397 &cg); in EventHandler()
399 cg = NULL; in EventHandler()
401 win->doPaint(cg); in EventHandler()
/external/chromium_org/third_party/skia/src/views/mac/
DSkOSWindow_Mac.cpp172 CGContextRef cg = reinterpret_cast<CGContextRef>(ctx); in doPaint()
174 CGContextSaveGState(cg); in doPaint()
175 CGContextTranslateCTM(cg, 0, r.size.height); in doPaint()
176 CGContextScaleCTM(cg, 1, -1); in doPaint()
178 CGContextDrawImage(cg, r, img); in doPaint()
180 CGContextRestoreGState(cg); in doPaint()
390 CGContextRef cg; in EventHandler() local
397 &cg); in EventHandler()
399 cg = NULL; in EventHandler()
401 win->doPaint(cg); in EventHandler()
/external/skia/src/utils/ios/
DSkImageDecoder_iOS.mm45 CGContextRef cg = CGBitmapContextCreate(bm->getPixels(), width, height,
47 CGContextDrawImage(cg, CGRectMake(0, 0, width, height), uimage.CGImage);
48 CGContextRelease(cg);
/external/chromium_org/third_party/skia/src/utils/ios/
DSkImageDecoder_iOS.mm45 CGContextRef cg = CGBitmapContextCreate(bm->getPixels(), width, height,
47 CGContextDrawImage(cg, CGRectMake(0, 0, width, height), uimage.CGImage);
48 CGContextRelease(cg);
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h162 explicit InlineFunctionInfo(CallGraph *cg = 0, const DataLayout *td = 0)
163 : CG(cg), TD(td) {} in CG() argument
/external/mdnsresponder/mDNSCore/
DmDNS.c324 CacheGroup *cg; in CacheGroupForName() local
325 for (cg = m->rrcache_hash[slot]; cg; cg=cg->next) in CacheGroupForName()
326 if (cg->namehash == namehash && SameDomainName(cg->name, name)) in CacheGroupForName()
328 return(cg); in CacheGroupForName()
2580 const CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); in BuildQuestion() local
2584 …for (rr = cg ? cg->members : mDNSNULL; rr; rr=rr->next) // If we have a resource record in our … in BuildQuestion()
2622 …for (rr = cg ? cg->members : mDNSNULL; rr; rr=rr->next) // For every resource record in our cac… in BuildQuestion()
2651 CacheGroup *cg; in ReconfirmAntecedents() local
2654 FORALL_CACHERECORDS(slot, cg, cr) in ReconfirmAntecedents()
2672 CacheGroup *const cg = CacheGroupForName(m, HashSlot(name), namehash, name); in CacheHasAddressTypeForName() local
[all …]
/external/oprofile/pp/
Dopreport.cpp448 void output_cg_symbols(callgraph_container const & cg, bool multiple_apps) in output_cg_symbols() argument
450 column_flags output_hints = cg.output_hint(); in output_cg_symbols()
452 symbol_collection symbols = cg.get_symbols(); in output_cg_symbols()
462 xml_out = new format_output::xml_cg_formatter(cg, symbols, in output_cg_symbols()
469 text_out = new format_output::cg_formatter(cg); in output_cg_symbols()
487 cg.extra_found_images); in output_cg_symbols()
/external/skia/src/ports/
DSkImageDecoder_CG.cpp95 …CGContextRef cg = CGBitmapContextCreate(bm->getPixels(), width, height, 8, bm->rowBytes(), cs, BIT… in onDecode() local
98 CGContextDrawImage(cg, CGRectMake(0, 0, width, height), image); in onDecode()
99 CGContextRelease(cg); in onDecode()
/external/chromium_org/third_party/skia/src/ports/
DSkImageDecoder_CG.cpp95 …CGContextRef cg = CGBitmapContextCreate(bm->getPixels(), width, height, 8, bm->rowBytes(), cs, BIT… in onDecode() local
98 CGContextDrawImage(cg, CGRectMake(0, 0, width, height), image); in onDecode()
99 CGContextRelease(cg); in onDecode()
/external/chromium_org/third_party/WebKit/Source/platform/
Dblink_platform.gyp186 ['exclude', '(cf|cg|harfbuzz|mac|opentype|win)/'],
284 ['include', 'geometry/cg/FloatPointCG\\.cpp$'],
285 ['include', 'geometry/cg/FloatRectCG\\.cpp$'],
286 ['include', 'geometry/cg/FloatSizeCG\\.cpp$'],
287 ['include', 'geometry/cg/IntPointCG\\.cpp$'],
288 ['include', 'geometry/cg/IntRectCG\\.cpp$'],
289 ['include', 'geometry/cg/IntSizeCG\\.cpp$'],
298 ['exclude', 'geometry/cg/'],
/external/llvm/test/Transforms/Inline/
Dgvn-inline-iteration.ll1 ; RUN: opt -basicaa -inline -gvn -S -max-cg-scc-iterations=1 < %s | FileCheck %s

1234