search for: deptype

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

2009 Nov 04
5
[LLVMdev] DeadStoreElimination: do better without TargetData
...if (TD && > - TD->getTypeStoreSize(DepStore->getOperand(0)->getType()) <= > - TD->getTypeStoreSize(SI->getOperand(0)->getType())) { > + if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst > ())) { > + const Type *DepType = DepStore->getOperand(0)->getType(); > + const Type *SIType = SI->getOperand(0)->getType(); > + if (DepType == SIType || > + (TD && > + TD->getTypeStoreSize(DepType) <= TD->getTypeStoreSize > (SIType))) { > // Dele...
2009 Nov 04
0
[LLVMdev] DeadStoreElimination: do better without TargetData
Re-posting with better-looking code. Hans Wennborg wrote: > The attached patch makes DeadStoreElimination able to remove stores in > store-store dependencies when the operand types are equal, even if there > is no TargetData available. > > / Hans > > > ------------------------------------------------------------------------ > >
2009 Nov 04
2
[LLVMdev] DeadStoreElimination: do better without TargetData
The attached patch makes DeadStoreElimination able to remove stores in store-store dependencies when the operand types are equal, even if there is no TargetData available. / Hans -------------- next part -------------- A non-text attachment was scrubbed... Name: DeadStoreElimination.patch Type: text/x-patch Size: 812 bytes Desc: not available URL:
2009 Nov 04
0
[LLVMdev] DeadStoreElimination: do better without TargetData
...mp;& >> - TD->getTypeStoreSize(DepStore->getOperand(0)->getType()) <= >> - TD->getTypeStoreSize(SI->getOperand(0)->getType())) { >> + if (StoreInst *DepStore = dyn_cast<StoreInst>(InstDep.getInst())) { >> + const Type *DepType = DepStore->getOperand(0)->getType(); >> + const Type *SIType = SI->getOperand(0)->getType(); >> + if (DepType == SIType || >> + (TD && >> + TD->getTypeStoreSize(DepType) <= >> TD->getTypeStoreSize(SIType))) { &...
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...al to prune dependece between SUI >> + // and SUJ. >> + bool isLegalToPruneDependencies(SUnit *SUI, SUnit *SUJ); >> + >> + MachineBasicBlock::iterator addToPacket(MachineInstr *MI); >> + private: >> + bool IsCallDependent(MachineInstr* MI, SDep::Kind DepType, unsigned DepReg); >> + bool PromoteToDotNew(MachineInstr* MI, SDep::Kind DepType, >> + MachineBasicBlock::iterator&MII, >> + const TargetRegisterClass* RC); >> + bool CanPromoteToDotNew(MachineInstr* MI, SUnit* PacketSU, >&...