search for: mipsdagtodagisel

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

2012 Jan 18
0
[LLVMdev] Question about isel patterns
...t specifying the type > of the root node in the RHS result. > I want to be able to write something like this: > > def : Pat<(i64 imm:$in), (GenDAG imm:$in)>; > (GenDAG is a custom function that returns the DAG that replaces the > node in the LHS.) Why not just add a case to MipsDAGToDAGISel::Select? -Eli
2012 Jan 18
2
[LLVMdev] Question about isel patterns
I am looking for a way to define patterns without specifying the type of the root node in the RHS result. I want to be able to write something like this: def : Pat<(i64 imm:$in), (GenDAG imm:$in)>; (GenDAG is a custom function that returns the DAG that replaces the node in the LHS.) A little background: Mips emits a sequence of instructions to load immediate constants that do not fit in
2013 Apr 01
0
[LLVMdev] proposed change to class BasicTTI and dual mode mips16/32 working
.../Mips16ISelDAGToDAG.cpp +++ b/lib/Target/Mips/Mips16ISelDAGToDAG.cpp @@ -35,6 +35,11 @@ #include "llvm/Target/TargetMachine.h" using namespace llvm; +bool Mips16DAGToDAGISel::runOnMachineFunction(MachineFunction &MF) { + if (!Subtarget.inMips16Mode()) + return false; + return MipsDAGToDAGISel::runOnMachineFunction(MF); +} /// Select multiply instructions. std::pair<SDNode*, SDNode*> Mips16DAGToDAGISel::selectMULT(SDNode *N, unsigned Opc, DebugLoc DL, EVT Ty, diff --git a/lib/Target/Mips/Mips16ISelDAGToDAG.h b/lib/Target/Mips/Mips16ISelDAGToDAG.h index baa8587..f05f9b7 100644 --...
2013 Apr 01
3
[LLVMdev] proposed change to class BasicTTI and dual mode mips16/32 working
On Thu, Mar 28, 2013 at 12:22 PM, Nadav Rotem <nrotem at apple.com> wrote: > IMHO the right way to handle target function attributes is to > re-initialize the target machine and TTI for every function (if the > attributes changed). Do you have another solution in mind ? I don't really understand this. TargetMachine and TTI may be quite expensive to initialize. Doing so for
2014 May 27
2
[LLVMdev] Compiling MiBench to MIPS
...0x0000000000cfe4cb llvm::FunctionLoweringInfo::set(llvm::Function const&, llvm::MachineFunction&, llvm::SelectionDAG*) + 2033 13 llc 0x0000000000dadb1d llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 921 14 llc 0x0000000000b01037 llvm::MipsDAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 35 15 llc 0x0000000000b2a9a1 llvm::MipsSEDAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 65 16 llc 0x0000000000fcd6ed llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 95 17 llc 0x...