search for: printaliasinstr

Displaying 5 results from an estimated 5 matches for "printaliasinstr".

2012 Dec 19
0
[LLVMdev] question about printAliasInstr
I am considering using MipsInstPrinter::printAliasInstr, which is auto-generated in MipsGenAsmWriter.inc, to print assembly idioms defined as instruction aliases. For example, an instruction which used to be printed as "nor $1, $2, $zero" can be printed as "not $1, $2" This is nice because it makes the code printed by code-gen or...
2018 Sep 26
5
RFC: Adding a code size analysis tool
...side, you'll see the demangled function name. The *change* in code size in bytes is reported on the right hand side (only positive changes are reported). clang::Sema::CheckHexagonBuiltinCpu([snip]) [function] 170316 ProcessDeclAttribute([snip]) [function] 125893 llvm::AArch64InstPrinter::printAliasInstr([snip]) [function] 105133 llvm::AArch64AppleInstPrinter::printAliasInstr([snip]) [function] 105133 ParseCodeGenArgs([snip]) [function] 64692 unswitchNontrivialInvariants([snip]) [function] 40180 getAttrKind([snip]) [function] 35811 clang::DumpCompilerOptionsAction::ExecuteAction() [functi...
2018 Oct 01
4
RFC: Adding a code size analysis tool
...demangled function name. The *change* in code size in bytes is reported on the > right hand side (only positive changes are reported). > > clang::Sema::CheckHexagonBuiltinCpu([snip]) [function] 170316 > ProcessDeclAttribute([snip]) [function] 125893 > llvm::AArch64InstPrinter::printAliasInstr([snip]) [function] 105133 > llvm::AArch64AppleInstPrinter::printAliasInstr([snip]) [function] 105133 > ParseCodeGenArgs([snip]) [function] 64692 > unswitchNontrivialInvariants([snip]) [function] 40180 > getAttrKind([snip]) [function] 35811 > clang::DumpCompilerOptionsAction...
2018 Oct 01
3
RFC: Adding a code size analysis tool
...ame. The *change* in code size in bytes is reported on the >> right hand side (only positive changes are reported). >> >> clang::Sema::CheckHexagonBuiltinCpu([snip]) [function] 170316 >> ProcessDeclAttribute([snip]) [function] 125893 >> llvm::AArch64InstPrinter::printAliasInstr([snip]) [function] 105133 >> llvm::AArch64AppleInstPrinter::printAliasInstr([snip]) [function] 105133 >> ParseCodeGenArgs([snip]) [function] 64692 >> unswitchNontrivialInvariants([snip]) [function] 40180 >> getAttrKind([snip]) [function] 35811 >> clang::DumpC...
2013 Sep 17
0
[LLVMdev] [patch] alias instruction for Intel syntax
...86/InstPrinter/X86IntelInstPrinter.cpp +++ b/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp @@ -39,7 +39,8 @@ void X86IntelInstPrinter::printInst(const MCInst *MI, raw_ostream &OS, if (TSFlags & X86II::LOCK) OS << "\tlock\n"; - printInstruction(MI, OS); + if (!printAliasInstr(MI, OS)) + printInstruction(MI, OS); // Next always print the annotation. printAnnotation(OS, Annot); -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130917/5dab3f16/attachment.html>