Displaying 4 results from an estimated 4 matches for "nodeallocator".
2011 Sep 13
3
[LLVMdev] Handling of DebugLocs during CSE of SelectionDAG nodes.
...DValue 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);
02380 #ifndef NDEBUG
02381 VerifySDNode(N);
02382 #endif
02383 return SDValue(N, 0);
02384 }
2016 Oct 29
1
Problems with Inline ASM expressions generated in the back end
...s to be so because of this method doing
creation of the SDNode, which is used also by
getTargetExternalSymbol():
template <typename SDNodeT, typename... ArgTypes>
SDNodeT *newSDNode(ArgTypes &&... Args) {
return new (NodeAllocator.template Allocate<SDNodeT>())
SDNodeT(std::forward<ArgTypes>(Args)...);
}
*/
char *exprStrChar = (char *)malloc(2048);
strcpy(exprStrChar, "test... ...");
SDValue extSym = CurDAG->getTargetExternalSymbol(...
2011 Sep 13
0
[LLVMdev] Handling of DebugLocs during CSE of SelectionDAG nodes.
...ed 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);
> 02380 #ifndef NDEBUG
> 02381 VerifySDNode(N);
> 02382 #endif
> 02383 return SDValue(N, 0);
> 02384 }
> _______________________________________________
&...
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
...AtomicOrdering FailureOrdering,
SynchronizationScope SynchScope) {
FoldingSetNodeID ID;
ID.AddInteger(MemVT.getRawBits());
@@ -4247,18 +4248,29 @@ SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
SDNode *N = new (NodeAllocator) AtomicSDNode(Opcode, dl.getIROrder(),
dl.getDebugLoc(), VTList, MemVT,
Ops, DynOps, NumOps, MMO,
- Ordering, SynchScope);
+...