search for: addnodeidnode

Displaying 4 results from an estimated 4 matches for "addnodeidnode".

2011 Sep 13
3
[LLVMdev] Handling of DebugLocs during CSE of SelectionDAG nodes.
...node in order to keep the debugger behaving correctly. Is that the correct approach? Are there any other suggestions? 02367 /// getNode - Gets or creates the specified node. 02368 /// 02369 SDValue SelectionDAG::getNode(unsigned Opcode, DebugLoc DL, EVT VT) { 02370 FoldingSetNodeID ID; 02371 AddNodeIDNode(ID, Opcode, getVTList(VT), 0, 0); 02372 void *IP = 0; 02373 if (SDNode *E = CSEMap.FindNodeOrInsertPos(ID, IP)) 02374 return SDValue(E, 0); 02375 02376 SDNode *N = new (NodeAllocator) SDNode(Opcode, DL, getVTList(VT)); 02377 CSEMap.InsertNode(N, IP); 02378 02379 AllNodes.push_back(N...
2007 Aug 06
2
[LLVMdev] Problem compiling LLVM under Cygwin/Mingw
...LVM supposed to work with this version of GCC (probably using the -mno-cygwin option to get a Mingw-like behavior)? The LLVM source tree is from the current SVN trunk. Compilation fails at SelectionDAG.cpp: llvm[3]: Compiling SelectionDAG.cpp for Debug build SelectionDAG.cpp: In function `void AddNodeIDNode(llvm::FoldingSetNodeID&, llvm::SDNode*)': SelectionDAG.cpp:344: error: call of overloaded `AddInteger(llvm::MVT::ValueType)' is ambiguous /home/afrisch/llvm/llvm/include/llvm/ADT/FoldingSet.h:150: note: candidates are: void llvm::FoldingSetImpl::NodeID::AddInteger(int) /home/afrisch/l...
2007 Aug 06
0
[LLVMdev] Problem compiling LLVM under Cygwin/Mingw
...f GCC (probably using the > -mno-cygwin option to get a Mingw-like behavior)? > > The LLVM source tree is from the current SVN trunk. > > Compilation fails at SelectionDAG.cpp: > > llvm[3]: Compiling SelectionDAG.cpp for Debug build > SelectionDAG.cpp: In function `void > AddNodeIDNode(llvm::FoldingSetNodeID&, llvm::SDNode*)': > SelectionDAG.cpp:344: error: call of overloaded > `AddInteger(llvm::MVT::ValueType)' is ambiguous > /home/afrisch/llvm/llvm/include/llvm/ADT/FoldingSet.h:150: note: > candidates are: void llvm::FoldingSetImpl::NodeID::AddInteger(in...
2011 Sep 13
0
[LLVMdev] Handling of DebugLocs during CSE of SelectionDAG nodes.
...f … FastISel handles everything then you completely sidestep DAG nodes at -O0. - Devang > > 02367 /// getNode - Gets or creates the specified node. > 02368 /// > 02369 SDValue SelectionDAG::getNode(unsigned Opcode, DebugLoc DL, EVT VT) { > 02370 FoldingSetNodeID ID; > 02371 AddNodeIDNode(ID, Opcode, getVTList(VT), 0, 0); > 02372 void *IP = 0; > 02373 if (SDNode *E = CSEMap.FindNodeOrInsertPos(ID, IP)) > 02374 return SDValue(E, 0); > 02375 > 02376 SDNode *N = new (NodeAllocator) SDNode(Opcode, DL, getVTList(VT)); > 02377 CSEMap.InsertNode(N, IP); >...