- Feb 13, 2010
-
-
Chris Lattner authored
encoder and decoder by using new MRM_ forms. llvm-svn: 96048
-
Sean Callanan authored
whose opcodes extend into the ModR/M field using the Form field of the instruction rather than by special casing each instruction. Commented out the special casing of VMCALL, which is the first instruction to use this special form. While I was in the neighborhood, added a few comments for people modifying the Intel disassembler. llvm-svn: 96043
-
- Feb 12, 2010
-
-
Chris Lattner authored
This will work better for the disassembler for modeling things like lfence/monitor/vmcall etc. llvm-svn: 95960
-
Daniel Dunbar authored
matcher is now free of implicit operands! - Still need to clean up the code now that we don't to worry about implicit operands, and to make it a hard error if an instruction fails to specify all of its operands for some reason. llvm-svn: 95956
-
- Feb 11, 2010
-
-
Chris Lattner authored
testb %al, %al ## <MCInst #2412 TEST8rr ## <MCOperand Reg:2> ## <MCOperand Reg:2>> jne LBB1_7 ## <MCInst #938 JNE_1 ## <MCOperand Expr:(LBB1_7)>> llvm-svn: 95935
-
- Feb 10, 2010
-
-
Chris Lattner authored
llvm-svn: 95808
-
Daniel Dunbar authored
llvm-svn: 95802
-
Daniel Dunbar authored
- Pretty messy, but we need to rework how we handle tied operands in MCInst anyway. llvm-svn: 95774
-
Sean Callanan authored
backend to not use exceptions at all except in cases of actual error. llvm-svn: 95762
-
Sean Callanan authored
Disassembler to take advantage of the refactored AsmWriterInst.h. Note removed parser code. llvm-svn: 95760
-
Sean Callanan authored
operand into the CodeGenInstruction's list of operands, which is useful for EDEmitter. (Still working on PR6219) llvm-svn: 95759
-
Chris Lattner authored
for representing constraint info semantically instead of as a c expression that will be blatted out to the .inc file. Fix X86RecognizableInstr to use this instead of parsing C code :). llvm-svn: 95753
-
Sean Callanan authored
implementation. Also changed the constructor so that it does not require a Record, making it usable by the EDEmitter. llvm-svn: 95715
-
- Feb 09, 2010
-
-
Sean Callanan authored
it builds OK on Visual Studio. llvm-svn: 95702
-
Sean Callanan authored
out of the AsmWriterEmitter. This patch does the physical code movement, but leaves the implementation unchanged. I'll make any changes necessary to generalize the code in a separate patch. llvm-svn: 95697
-
Chris Lattner authored
into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687
-
Chris Lattner authored
llvm-svn: 95627
-
- Feb 03, 2010
-
-
Chris Lattner authored
than DEBUG_VALUE :( ) into the target indep AsmPrinter.cpp file. This allows elimination of the NO_ASM_WRITER_BOILERPLATE hack among other things. llvm-svn: 95177
-
Daniel Dunbar authored
is still deterministic even amongst ambiguous instructions (eventually ambiguous match orders will be a hard error, but we aren't there yet). llvm-svn: 95157
-
- Jan 30, 2010
-
-
Daniel Dunbar authored
in the order they were declared. llvm-svn: 94868
-
- Jan 29, 2010
-
-
Sean Callanan authored
disassembly information have a better comment (and better guard macros). llvm-svn: 94781
-
Ted Kremenek authored
llvm-svn: 94776
-
Sean Callanan authored
enhanced disassembler, and the necessary makefile rules to build the table for X86. llvm-svn: 94764
-
- Jan 26, 2010
-
-
Mikhail Glushenkov authored
llvm-svn: 94543
-
- Jan 23, 2010
-
-
Sean Callanan authored
be static. Also made it possible for clients to get it and no other functions from ...GenAsmMatcher.inc by defining REGISTERS_ONLY before including GenAsmMatcher.inc. This sets the stage for target-specific lexers that can identify registers and return AsmToken::Register as appropriate. llvm-svn: 94266
-
Daniel Dunbar authored
llvm-svn: 94261
-
- Jan 15, 2010
-
-
Dale Johannesen authored
Also, DEBUG_VALUE has side effects. llvm-svn: 93498
-
- Jan 14, 2010
-
-
Chris Lattner authored
the new ParseInstruction method just parses and returns a list of target operands. A new MatchInstruction interface is used to turn the operand list into an MCInst. This requires new/deleting all the operands, but it also gives targets the ability to use polymorphic operands if they want to. llvm-svn: 93469
-
- Jan 11, 2010
-
-
Benjamin Kramer authored
- getToken is modeled after StringRef::split but it can split on multiple separator chars and skips leading seperators. - SplitString is a StringRef::split variant for more than 2 elements with the same behaviour as getToken. llvm-svn: 93161
-
- Jan 09, 2010
-
-
Dale Johannesen authored
llvm-svn: 93040
-
Dale Johannesen authored
llvm-svn: 93030
-
- Jan 06, 2010
-
-
Duncan Sands authored
memcpy, memset and other intrinsics that only access their arguments to be readnone if the intrinsic's arguments all point to local memory. This improves the testcase in the README to readonly, but it could in theory be made readnone, however this would involve more sophisticated analysis that looks through the memcpy. llvm-svn: 92829
-
- Jan 05, 2010
-
-
Dan Gohman authored
uses several kinds of opcode values which are not declared within that enum. This fixes PR5946. llvm-svn: 92794
-
David Greene authored
Add an !eq() operator to TableGen. It operates on strings only. Use !cast<string>() to compare other types of objects. llvm-svn: 92754
-
David Greene authored
Have TableGen emit code that uses dbgs() rather than errs(). llvm-svn: 92738
-
Dan Gohman authored
clear what information these functions are actually using. This is also a micro-optimization, as passing a SDNode * around is simpler than passing a { SDNode *, int } by value or reference. llvm-svn: 92564
-
- Jan 04, 2010
-
-
Daniel Dunbar authored
llvm-svn: 92521
-
Dan Gohman authored
verifying that the special case does not occur. llvm-svn: 92504
-
Dan Gohman authored
for a refactoring I'm working on. llvm-svn: 92503
-
- Jan 01, 2010
-
-
Mikhail Glushenkov authored
llvm-svn: 92392
-