- May 22, 2011
-
-
Frits van Bommel authored
Add a parameter to ConstantFoldTerminator() that callers can use to ask it to also clean up the condition of any conditional terminator it folds to be unconditional, if that turns the condition into dead code. This just means it calls RecursivelyDeleteTriviallyDeadInstructions() in strategic spots. It defaults to the old behavior. I also changed -simplifycfg, -jump-threading and -codegenprepare to use this to produce slightly better code without any extra cleanup passes (AFAICT this was the only place in -simplifycfg where now-dead conditions of replaced terminators weren't being cleaned up). The only other user of this function is -sccp, but I didn't read that thoroughly enough to figure out whether it might be holding pointers to instructions that could be deleted by this. llvm-svn: 131855
-
Chris Lattner authored
llvm-svn: 131854
-
Chris Lattner authored
llvm-svn: 131853
-
Howard Hinnant authored
llvm-svn: 131852
-
Chris Lattner authored
llvm-svn: 131851
-
Chris Lattner authored
llvm-svn: 131850
-
Chris Lattner authored
"stored once" even if its address is compared. llvm-svn: 131849
-
Caroline Tice authored
Change the command 'breakpoint command remove' to 'breakpoint command delete', to be more consistent with other commands. llvm-svn: 131848
-
Chris Lattner authored
causing it to get into infinite loops when it would widen a load (which can necessarily leave around dead loads). llvm-svn: 131847
-
Chris Lattner authored
llvm-svn: 131846
-
Chris Lattner authored
llvm-svn: 131845
-
Nick Lewycky authored
llvm-svn: 131844
-
Chris Lattner authored
llvm-svn: 131843
-
Chris Lattner authored
llvm-svn: 131842
-
Chris Lattner authored
llvm-svn: 131841
-
Chris Lattner authored
patch by Bryce Lelbach llvm-svn: 131840
-
Nick Lewycky authored
llvm-svn: 131839
-
Nick Lewycky authored
of the inlinee to the code representing the original function. llvm-svn: 131838
-
Chris Lattner authored
llvm-svn: 131837
-
Chris Lattner authored
llvm-svn: 131836
-
Chris Lattner authored
llvm-svn: 131835
-
Greg Clayton authored
and set the address as an opcode address or as a callable address. This is needed in various places in the thread plans to make sure that addresses that might be found in symbols or runtime might already have extra bits set (ARM/Thumb). The new functions are: bool Address::SetCallableLoadAddress (lldb::addr_t load_addr, Target *target); bool Address::SetOpcodeLoadAddress (lldb::addr_t load_addr, Target *target); SetCallableLoadAddress will initialize a section offset address if it can, and if so it might possibly set some bits in the address to make the address callable (bit zero might get set for ARM for Thumb functions). SetOpcodeLoadAddress will initialize a section offset address using the specified target and it will strip any special address bits if needed depending on the target. Fixed the ABIMacOSX_arm::GetArgumentValues() function to require arguments 1-4 to be in the needed registers (previously this would incorrectly fallback to the stack) and return false if unable to get the register values. The function was also modified to first look for the generic argument registers and then fall back to finding the registers by name. Fixed the objective trampoline handler to use the new Address::SetOpcodeLoadAddress function when needed to avoid address mismatches when trying to complete steps into objective C methods. Make similar fixes inside the AppleThreadPlanStepThroughObjCTrampoline::ShouldStop() function. Modified ProcessGDBRemote::BuildDynamicRegisterInfo(...) to be able to deal with the new generic argument registers. Modified RNBRemote::HandlePacket_qRegisterInfo() to handle the new generic argument registers on the debugserver side. Modified DNBArchMachARM::NumSupportedHardwareBreakpoints() to be able to detect how many hardware breakpoint registers there are using a darwin sysctl. Did the same for hardware watchpoints in DNBArchMachARM::NumSupportedHardwareWatchpoints(). llvm-svn: 131834
-
Charles Davis authored
these tables. llvm-svn: 131833
-
Charles Davis authored
directive. Implement emission of Win64 EH unwind info. Pull in <cassert> in MCWin64EH.h so it can use the assert() macro. llvm-svn: 131832
-
Nick Lewycky authored
llvm-svn: 131831
-
Charles Davis authored
Also, fix threshold for 'Big' register saves. llvm-svn: 131830
-
Chris Lattner authored
llvm-svn: 131829
-
Chris Lattner authored
llvm-svn: 131828
-
Chris Lattner authored
llvm-svn: 131827
-
Chris Lattner authored
llvm-svn: 131824
-
Chris Lattner authored
passes, it should be converted to use extension points. llvm-svn: 131823
-
Douglas Gregor authored
to determine outer template arguments lists for template parameters. This is actually the problem behind PR9643, which I have yet to figure out how to fix. llvm-svn: 131822
-
Chris Lattner authored
llvm-svn: 131821
-
Chris Lattner authored
llvm-svn: 131820
-
Chris Lattner authored
should eventually convert to PMBuilder, but I don't plan to do this. llvm-svn: 131819
-
Howard Hinnant authored
__invokable and __invoke_of now check for incomplete types and issue a compile-time diagnostic if they are used with incomplete types for anything except a return type. Note that both arguments *and* parameters are checked for completeness. llvm-svn: 131818
-
Charles Davis authored
llvm-svn: 131817
-
Charles Davis authored
class. llvm-svn: 131816
-
Chris Lattner authored
llvm-svn: 131815
-
Chris Lattner authored
the pass manager. llvm-svn: 131814
-