search for: codegeninstruction

Displaying 20 results from an estimated 37 matches for "codegeninstruction".

2015 Oct 19
2
Instructions with no operand
...t<opc, "", (outs), (ins), [(int_no_operand)]>; *InstrFormat.td* multiclass Clr { def _ : ALU<"clr"> {let InstOp = 0b11;} } ----------------------------------------- after compiling the code, I receive the following error: *llvm-tblgen: /llvm/utils/TableGen/CodeGenInstruction.h:186: std::pair<unsigned int, unsigned int> llvm::CGIOperandList::getSubOperandNumber(unsigned int) const: Assertion `i < OperandList.size() && "Invalid flat operand #"' failed.* How can I define an instruction with no operand? In ARM there is a similar instruction...
2007 Jan 11
1
[LLVMdev] Pattern matching questions
...00, (ops), > "bi $$lr", > BranchResolv, > [(retflag)]>; > } > } > > Output from make: > > llvm[0]: Building SPU.td code emitter with tblgen > tblgen: /work/scottm/llvm/utils/TableGen/CodeGenInstruction.h:118: > std::pair<unsigned int, unsigned int> > llvm::CodeGenInstruction::getSubOperandNumber(unsigned int) const: > Assertion `i < OperandList.size() && "Invalid flat operand #"' failed. > make: *** > [/work/scottm/llvm/obj/i686-unknown-linux-gnu/lib/...
2007 Jan 10
0
[LLVMdev] Pattern matching questions
...turn = 1 in { def RET: BRForm<0b00010101100, (ops), "bi $$lr", BranchResolv, [(retflag)]>; } } Output from make: llvm[0]: Building SPU.td code emitter with tblgen tblgen: /work/scottm/llvm/utils/TableGen/CodeGenInstruction.h:118: std::pair<unsigned int, unsigned int> llvm::CodeGenInstruction::getSubOperandNumber(unsigned int) const: Assertion `i < OperandList.size() && "Invalid flat operand #"' failed. make: *** [/work/scottm/llvm/obj/i686-unknown-linux-gnu/lib/Target/IBMCellSPU/Debug/S...
2007 Jan 09
2
[LLVMdev] Pattern matching questions
On Tue, 9 Jan 2007, Evan Cheng wrote: >> - How does one deal with multiple instruction sequences in a pattern? >> To load a constant is a two instruction sequence, but both >> instructions only take two operands (assume that r3 is a 32-bit >> register): >> >> ilhu $3, 45 # r3 = (45 << 16) >> iohl $3, 5 # r3 |= 5
2011 Sep 23
2
[LLVMdev] Registers and isel type inference
...the use of HasOneImplicitDefWithKnownVT() that scares me, I don't think there is any workaround for that. /jakob /// HasOneImplicitDefWithKnownVT - If the instruction has at least one /// implicit def and it has a known VT, return the VT, otherwise return /// MVT::Other. MVT::SimpleValueType CodeGenInstruction:: HasOneImplicitDefWithKnownVT(const CodeGenTarget &TargetInfo) const { if (ImplicitDefs.empty()) return MVT::Other; // Check to see if the first implicit def has a resolvable type. Record *FirstImplicitDef = ImplicitDefs[0]; assert(FirstImplicitDef->isSubClassOf("Register&quot...
2009 Feb 24
0
[LLVMdev] [llvm-commits] remove libtool from build system
...m/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/obj/utils/TableGen/Debug/DAGISelEmitter.o /Users/jyasskin/src/llvm/trunk_nolibtool/obj/utils/TableGen/Debug/FastISelEmitter.o /Users/jyasskin/src/llvm/trunk_nolibtool/obj/uti...
2017 Oct 14
3
darwin bootstrap failure
...pp.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-tblgen.dir/CodeGenSchedule.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DAGISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir...
2017 Oct 14
2
darwin bootstrap failure
...pp.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-tblgen.dir/CodeGenSchedule.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DAGISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir...
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
...s.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-tblgen.dir/CodeGenSchedule.cpp.o >> CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o >> CMakeFiles/obj.llvm-tblgen.dir/DAGISe...
2017 Oct 15
2
darwin bootstrap failure
...s.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-tblgen.dir/CodeGenSchedule.cpp.o >> CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o >> CMakeFiles/obj.llvm-tblgen.dir/DAGISe...
2019 Jan 23
2
Windows/Clang build instrumented/PGO
...eGen\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\CMakeFiles\llvm-tblgen.dir\CodeGenRegisters.cpp.obj utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeGenSchedule.cpp.obj utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeGenTarget.cpp.obj utils\TableGen\CMakeFiles\ll...
2017 Oct 15
2
darwin bootstrap failure
...-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-tblgen.dir/CodeGenSchedule.cpp.o >> >> CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o >> &...
2017 Oct 14
2
darwin bootstrap failure
...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-tblgen.dir/CodeGenSchedule.cpp.o >>>> CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o >>>&g...
2017 Oct 15
2
darwin bootstrap failure
...>> >> >> 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-tblgen.dir/CodeGenSchedule.cpp.o >> >> >> CMakeFiles/obj.llvm-tblge...
2017 Oct 14
2
darwin bootstrap failure
...er.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-tblgen.dir/CodeGenSchedule.cpp.o >>>>>> CMakeFiles/obj.llvm-tblgen.dir/Co...
2008 Dec 05
0
[LLVMdev] Build errors on trunk for about a week now.
...aits<char>,class std::allocator<char> >::`copy constructor closure'(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (??_O?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEXAAV01@@Z) 4>CodeGenInstruction.obj : error LNK2001: unresolved external symbol "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::`copy constructor closure'(class std::basic_string<char,struct std::char_traits<char>,class std::allocator&...
2008 Dec 05
2
[LLVMdev] Build errors on trunk for about a week now.
On Fri, Dec 5, 2008 at 1:52 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: > / * snip */ Actually, rebuilding it makes "debug tblgen" fail with the errors at the end of this email, and as such everything that depends on it, how odd... When I get back to that computer then I will clean its directory, update from SVN (please fix the const thing soon :) ), and rebuild fresh...
2011 Apr 08
1
[LLVMdev] Instructions with register constraints
For any instruction, a list of constraints can be specified, like: let Constraints = "$dst = $lhs" in ... I checked the existing backends and I didn't notice any complex constraints: basically "Constraints" keyword is used to force 1 operand register to be the same as another one. I am wondering if there is any way to express more complicated constraints like for
2011 Sep 23
0
[LLVMdev] Registers and isel type inference
Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: > It appears that tablegen is inferring the 'type' of an individual > register by enumerating all the register classes it appears in. Some > things, like using implicit defs in SDNodes, only works for registers > with a unique type. My WIDE32 class caused GR32 registers to no > longer have a unique type, breaking