Displaying 20 results from an estimated 45 matches for "codeemittergen".
2007 Apr 18
2
[LLVMdev] CodeEmitterGen
...ds are declared in the instruction format in the same
order that operands are defined. This seems like a bad dependence to
me, and that TableGen should match the name of field declared in the
instruction with the name of the operand in order to determine which
operand of the MI to use
.
See CodeEmitterGen.cpp:170 and neighborhood.
Unfortunately there are naming discrepancies between the instruction
format fields and the operand names in all existing code emitters
that use TableGen, which would require some significant renaming
cleanup.
Thoughts on binding operand names to instruction field n...
2007 Apr 18
0
[LLVMdev] CodeEmitterGen
...of field
> declared in the instruction with the name of the operand in order
> to determine which operand of the MI to use
> .
Yes, instruction OperandList corresponds to MachineInstr operands
ordering. Are you saying MachineInstr should look up specific operand
by name?
> See CodeEmitterGen.cpp:170 and neighborhood.
>
> Unfortunately there are naming discrepancies between the
> instruction format fields and the operand names in all existing
> code emitters that use TableGen, which would require some
> significant renaming cleanup.
Not sure what you mean. Example?...
2018 Feb 25
0
CodeEmitterGen generates wrong code for getBinaryCodeForInstr
Hi, It seems like CodeEmitterGen gets confused when we use named
suboperands.
sample code:
def memsrc : Operand<i16> {
let PrintMethod = "printSrcMemOperand";
let MIOperandInfo = (ops GR16:$ra, i16imm:$imm_i16);
let ParserMatchClass = memAsmOperand;
}
def LOAD16m : Inst32rri<0x0, (outs GR16:$rb), (ins m...
2007 Apr 18
2
[LLVMdev] CodeEmitterGen
...truction with the name of the operand in order
>> to determine which operand of the MI to use
>> .
>
> Yes, instruction OperandList corresponds to MachineInstr operands
> ordering. Are you saying MachineInstr should look up specific
> operand by name?
>
>> See CodeEmitterGen.cpp:170 and neighborhood.
>>
>> Unfortunately there are naming discrepancies between the
>> instruction format fields and the operand names in all existing
>> code emitters that use TableGen, which would require some
>> significant renaming cleanup.
>
> Not...
2005 Oct 24
0
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0(gcc CVS mainline)
...pace with
> declaration in <global>::<unnamed> namespace
Ahhh, ok, I see. I just applied a patch to SparcV8. With it, does this
patch fix the problem?
===================================================================
RCS file: /home/vadve/shared/PublicCVS/llvm/utils/TableGen/CodeEmitterGen.cpp,v
retrieving revision 1.41
diff -u -r1.41 CodeEmitterGen.cpp
--- CodeEmitterGen.cpp 19 Aug 2005 01:04:33 -0000 1.41
+++ CodeEmitterGen.cpp 24 Oct 2005 06:40:56 -0000
@@ -76,7 +76,7 @@
std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction");
E...
2005 Oct 24
2
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0(gcc CVS mainline)
>> 2) Same error but some diff. problem with AlphaCodeEmitter.cpp and
>> PPCCodeEmitter.cpp:
>>
>> GCC don't like definition member-functions in global namespace with
>> declaration in llvm::<unnamed> :
Sorry for wrong comment.
Must be:
GCC 4.1.0 don't like definition member-functions in llvm namespace with
declaration in
2004 Oct 23
2
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
...llvm/tools/Debug -export-dynamic
-ldbghelp -L/C/Projects/build/MinGW/llvm/lib/Debug
-L/C/Projects/build/MinGW/llvm/lib/Debug -o
/C/Projects/build/MinGW/llvm/tools/Debug/tblgen
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/AsmWriterEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/CodeEmitterGen.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/CodeGenTarget.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/FileLexer.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/FileParser.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/InstrInfoEmitter.o
/C/Projects/build/MinGW/llvm/uti...
2011 Aug 30
2
[LLVMdev] ARMCodeEmitter.cpp JIT support very broken (2.9 and svn)
...:VLDRD:
case ARM::VSTRD: {
// op: p
op = getMachineOpValue(MI, MI.getOperand(3));
Value |= (op & 15U) << 28;
// etc ...
Value = VFPThumb2PostEncoder(MI, Value); // <--- overwrites Value!
break;
}
The bug here is that in utils/TableGen/CodeEmitterGen.cpp, line 196:
Case += " Value = " + PostEmitter + "(MI, Value);\n";
should be
Case += " Value |= " + PostEmitter + "(MI, Value);\n";
This looks like it would affect all targets, except apparently only ARM uses this feature.
2) ARM BR_JTm and BR...
2004 Oct 25
0
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
...dynamic
> -ldbghelp -L/C/Projects/build/MinGW/llvm/lib/Debug
> -L/C/Projects/build/MinGW/llvm/lib/Debug -o
> /C/Projects/build/MinGW/llvm/tools/Debug/tblgen
> /C/Projects/build/MinGW/llvm/utils/TableGen/Debug/AsmWriterEmitter.o
> /C/Projects/build/MinGW/llvm/utils/TableGen/Debug/CodeEmitterGen.o
> /C/Projects/build/MinGW/llvm/utils/TableGen/Debug/CodeGenTarget.o
> /C/Projects/build/MinGW/llvm/utils/TableGen/Debug/FileLexer.o
> /C/Projects/build/MinGW/llvm/utils/TableGen/Debug/FileParser.o
> /C/Projects/build/MinGW/llvm/utils/TableGen/Debug/InstrInfoEmitter.o
> /C/Proj...
2011 Aug 30
0
[LLVMdev] ARMCodeEmitter.cpp JIT support very broken (2.9 and svn)
...// op: p
> op = getMachineOpValue(MI, MI.getOperand(3));
> Value |= (op & 15U) << 28;
> // etc ...
> Value = VFPThumb2PostEncoder(MI, Value); // <--- overwrites Value!
> break;
> }
>
> The bug here is that in utils/TableGen/CodeEmitterGen.cpp, line 196:
> Case += " Value = " + PostEmitter + "(MI, Value);\n";
> should be
> Case += " Value |= " + PostEmitter + "(MI, Value);\n";
>
This is the intended behavior. The some post-encoder hooks need to clear bits as well as s...
2004 Aug 31
2
[LLVMdev] More configure problems
...ry `/usr/home/llvm/obj/utils/TableGen'
Bisoning FileParser.y
Flexing /usr/home/llvm/obj/../utils/TableGen/FileLexer.l
gmake[2]: Leaving directory `/usr/home/llvm/obj/utils/TableGen'
gmake[2]: Entering directory `/usr/home/llvm/obj/utils/TableGen'
Compiling AsmWriterEmitter.cpp
Compiling CodeEmitterGen.cpp
Compiling CodeGenTarget.cpp
Compiling FileLexer.cpp
Compiling FileParser.cpp
FileParser.tab.c: In function `int Fileparse()':
FileParser.tab.c:2043: error: syntax error before `goto'
The offending lines bison generated are:
/*----------------------------------------------------.
| yye...
2011 Aug 30
2
[LLVMdev] ARMCodeEmitter.cpp JIT support very broken (2.9 and svn)
...39;t encode correctly at al, because the encoding methods generated by tablegen for them clobber the constructed binary value when they try to implement 'PostEncoderMethod' support , for example, from ARMGenCodeEmitter.inc:
>>
>>
>> The bug here is that in utils/TableGen/CodeEmitterGen.cpp, line 196:
>> Case += " Value = " + PostEmitter + "(MI, Value);\n";
>> should be
>> Case += " Value |= " + PostEmitter + "(MI, Value);\n";
>>
>
> This is the intended behavior. The some post-encoder hooks need...
2009 Feb 24
0
[LLVMdev] [llvm-commits] remove libtool from build system
.../Users/jyasskin/src/llvm/trunk_nolibtool/obj/Debug/bin/tblgen
/Users/jyasskin/src/llvm/trunk_nolibtool/obj/utils/TableGen/Debug/AsmWriterEmitter.o
/Users/jyasskin/src/llvm/trunk_nolibtool/obj/utils/TableGen/Debug/CallingConvEmitter.o
/Users/jyasskin/src/llvm/trunk_nolibtool/obj/utils/TableGen/Debug/CodeEmitterGen.o
/Users/jyasskin/src/llvm/trunk_nolibtool/obj/utils/TableGen/Debug/CodeGenDAGPatterns.o
/Users/jyasskin/src/llvm/trunk_nolibtool/obj/utils/TableGen/Debug/CodeGenInstruction.o
/Users/jyasskin/src/llvm/trunk_nolibtool/obj/utils/TableGen/Debug/CodeGenTarget.o
/Users/jyasskin/src/llvm/trunk_nolibtool/...
2017 Oct 14
3
darwin bootstrap failure
...trip
CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenHwModes.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenRegisters.cpp.o
CMakeFiles/obj.llvm-tb...
2017 Oct 14
2
darwin bootstrap failure
...trip
CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenHwModes.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenRegisters.cpp.o
CMakeFiles/obj.llvm-tb...
2009 Feb 24
5
[LLVMdev] [llvm-commits] remove libtool from build system
For those of you who haven't noticed, I'm planning to commit a major
change to the Makefile rules tomorrow evening (Tuesday) if there are no
complaints about it between now and then.
This needs testing on Darwin. I've heard back from Linux on many
platforms and even FreeBSD, which is fantastic, but I'm told that lots
of LLVMers are running Darwin and I haven't heard a peep
2017 Oct 14
2
darwin bootstrap failure
...rEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenHwModes.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/...
2017 Oct 15
2
darwin bootstrap failure
...rEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenHwModes.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/...
2007 Sep 20
2
[LLVMdev] Building on x86-64
.../dag/build.llvm.modified.debug/Debug+Checks/bin/tblgen /tmp/ptmp/dag/build.llvm.modified.debug/utils/TableGen/Debug+Checks/AsmWriterEmitter.o /tmp/ptmp/dag/build.llvm.modified.debug/utils/TableGen/Debug+Checks/CallingConvEmitter.o /tmp/ptmp/dag/build.llvm.modified.debug/utils/TableGen/Debug+Checks/CodeEmitterGen.o /tmp/ptmp/dag/build.llvm.modified.debug/utils/TableGen/Debug+Checks/CodeGenTarget.o /tmp/ptmp/dag/build.llvm.modified.debug/utils/TableGen/Debug+Checks/DAGISelEmitter.o /tmp/ptmp/dag/build.llvm.modified.debug/utils/TableGen/Debug+Checks/FileLexer.o /tmp/ptmp/dag/build.llvm.modified.debug/utils/Ta...
2019 Jan 23
2
Windows/Clang build instrumented/PGO
...ls\TableGen\CMakeFiles\llvm-tblgen.dir\AsmWriterEmitter.cpp.obj
utils\TableGen\CMakeFiles\llvm-tblgen.dir\AsmWriterInst.cpp.obj
utils\TableGen\CMakeFiles\llvm-tblgen.dir\Attributes.cpp.obj
utils\TableGen\CMakeFiles\llvm-tblgen.dir\CallingConvEmitter.cpp.obj
utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeEmitterGen.cpp.obj
utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeGenDAGPatterns.cpp.obj
utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeGenHwModes.cpp.obj
utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeGenInstruction.cpp.obj
utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeGenMapTable.cpp.obj
utils\TableGen\CMakeFi...