Home
last modified time | relevance | path

Searched refs:LR (Results 1 – 25 of 830) sorted by relevance

12345678910>>...34

/external/llvm-project/llvm/test/CodeGen/WebAssembly/
Df64.ll22 ; CHECK-NEXT: f64.add $push[[LR:[0-9]+]]=, $pop[[L0]], $pop[[L1]]{{$}}
23 ; CHECK-NEXT: return $pop[[LR]]{{$}}
30 ; CHECK: f64.sub $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}}
31 ; CHECK-NEXT: return $pop[[LR]]{{$}}
38 ; CHECK: f64.mul $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}}
39 ; CHECK-NEXT: return $pop[[LR]]{{$}}
46 ; CHECK: f64.div $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}}
47 ; CHECK-NEXT: return $pop[[LR]]{{$}}
54 ; CHECK: f64.abs $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}{{$}}
55 ; CHECK-NEXT: return $pop[[LR]]{{$}}
[all …]
Df32.ll22 ; CHECK-NEXT: f32.add $push[[LR:[0-9]+]]=, $pop[[L0]], $pop[[L1]]{{$}}
23 ; CHECK-NEXT: return $pop[[LR]]{{$}}
30 ; CHECK: f32.sub $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}}
31 ; CHECK-NEXT: return $pop[[LR]]{{$}}
38 ; CHECK: f32.mul $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}}
39 ; CHECK-NEXT: return $pop[[LR]]{{$}}
46 ; CHECK: f32.div $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}}
47 ; CHECK-NEXT: return $pop[[LR]]{{$}}
54 ; CHECK: f32.abs $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}{{$}}
55 ; CHECK-NEXT: return $pop[[LR]]{{$}}
[all …]
/external/llvm/lib/CodeGen/
DLiveRangeCalc.h80 LiveRange &LR; member
94 LiveInBlock(LiveRange &LR, MachineDomTreeNode *node, SlotIndex kill) in LiveInBlock()
95 : LR(LR), DomNode(node), Kill(kill), Value(nullptr) {} in LiveInBlock()
114 bool findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB,
132 void extendToUses(LiveRange &LR, unsigned Reg, LaneBitmask LaneMask);
172 void extend(LiveRange &LR, SlotIndex Use, unsigned PhysReg = 0);
177 void createDeadDefs(LiveRange &LR, unsigned Reg);
183 void extendToUses(LiveRange &LR, unsigned PhysReg) { in extendToUses() argument
184 extendToUses(LR, PhysReg, ~0u); in extendToUses()
230 void addLiveInBlock(LiveRange &LR,
[all …]
DLiveRangeUtils.h27 static void DistributeRange(LiveRangeT &LR, LiveRangeT *SplitLRs[], in DistributeRange() argument
30 typename LiveRangeT::iterator J = LR.begin(), E = LR.end(); in DistributeRange()
41 LR.segments.erase(J, E); in DistributeRange()
44 unsigned j = 0, e = LR.getNumValNums(); in DistributeRange()
48 VNInfo *VNI = LR.getValNumInfo(i); in DistributeRange()
54 LR.valnos[j++] = VNI; in DistributeRange()
57 LR.valnos.resize(j); in DistributeRange()
DLiveInterval.cpp53 LiveRange *LR; member in __anond39950d20111::CalcLiveRangeUtilBase
56 CalcLiveRangeUtilBase(LiveRange *LR) : LR(LR) {} in CalcLiveRangeUtilBase() argument
67 VNInfo *VNI = LR->getNextValue(Def, VNInfoAllocator); in createDeadDef()
87 VNInfo *VNI = LR->getNextValue(Def, VNInfoAllocator); in createDeadDef()
240 CalcLiveRangeUtilVector(LiveRange *LR) : CalcLiveRangeUtilVectorBase(LR) {} in CalcLiveRangeUtilVector() argument
245 LiveRange::Segments &segmentsColl() { return LR->segments; } in segmentsColl()
247 void insertAtEnd(const Segment &S) { LR->segments.push_back(S); } in insertAtEnd()
249 iterator find(SlotIndex Pos) { return LR->find(Pos); } in find()
252 return std::upper_bound(LR->begin(), LR->end(), S.start); in findInsertPos()
268 CalcLiveRangeUtilSet(LiveRange *LR) : CalcLiveRangeUtilSetBase(LR) {} in CalcLiveRangeUtilSet() argument
[all …]
DLiveIntervalAnalysis.cpp151 if (LiveRange *LR = RegUnitRanges[i]) in print() local
152 OS << PrintRegUnit(i, TRI) << ' ' << *LR << '\n'; in print()
258 void LiveIntervals::computeRegUnitRange(LiveRange &LR, unsigned Unit) { in computeRegUnitRange() argument
271 LRCalc->createDeadDefs(LR, *Supers); in computeRegUnitRange()
282 LRCalc->extendToUses(LR, Reg); in computeRegUnitRange()
288 LR.flushSegmentSet(); in computeRegUnitRange()
318 LiveRange *LR = RegUnitRanges[Unit]; in computeLiveInRegUnits() local
319 if (!LR) { in computeLiveInRegUnits()
321 LR = RegUnitRanges[Unit] = new LiveRange(UseSegmentSetForPhysRegs); in computeLiveInRegUnits()
324 VNInfo *VNI = LR->createDeadDef(Begin, getVNInfoAllocator()); in computeLiveInRegUnits()
[all …]
DLiveRangeCalc.cpp44 LiveRange &LR, const MachineOperand &MO) { in createDeadDef() argument
50 LR.createDeadDef(DefIdx, Alloc); in createDeadDef()
147 void LiveRangeCalc::createDeadDefs(LiveRange &LR, unsigned Reg) { in createDeadDefs() argument
153 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs()
157 void LiveRangeCalc::extendToUses(LiveRange &LR, unsigned Reg, in extendToUses() argument
208 extend(LR, UseIdx, Reg); in extendToUses()
232 Updater.setDest(&I.LR); in updateFromLiveIns()
239 void LiveRangeCalc::extend(LiveRange &LR, SlotIndex Use, unsigned PhysReg) { in extend() argument
248 if (LR.extendInBlock(Indexes->getMBBStartIdx(UseMBB), Use)) in extend()
255 if (findReachingDefs(LR, *UseMBB, Use, PhysReg)) in extend()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveRangeCalc.h102 LiveRange &LR; member
116 LiveInBlock(LiveRange &LR, MachineDomTreeNode *node, SlotIndex kill) in LiveInBlock()
117 : LR(LR), DomNode(node), Kill(kill) {} in LiveInBlock()
128 bool isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs,
148 bool findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB, SlotIndex Use,
172 void extendToUses(LiveRange &LR, unsigned Reg, LaneBitmask LaneMask,
210 void extend(LiveRange &LR, SlotIndex Use, unsigned PhysReg,
216 void createDeadDefs(LiveRange &LR, unsigned Reg);
222 void extendToUses(LiveRange &LR, unsigned PhysReg) { in extendToUses() argument
223 extendToUses(LR, PhysReg, LaneBitmask::getAll()); in extendToUses()
[all …]
DLiveIntervals.h184 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices,
187 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices) { in extendToIndices() argument
188 extendToIndices(LR, Indices, /*Undefs=*/{}); in extendToIndices()
198 void pruneValue(LiveRange &LR, SlotIndex Kill,
245 bool isLiveInToMBB(const LiveRange &LR, in isLiveInToMBB() argument
247 return LR.liveAt(getMBBStartIdx(mbb)); in isLiveInToMBB()
250 bool isLiveOutOfMBB(const LiveRange &LR, in isLiveOutOfMBB() argument
252 return LR.liveAt(getMBBEndIdx(mbb).getPrevSlot()); in isLiveOutOfMBB()
394 LiveRange *LR = RegUnitRanges[Unit]; in getRegUnit() local
395 if (!LR) { in getRegUnit()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DLiveRangeUtils.h26 static void DistributeRange(LiveRangeT &LR, LiveRangeT *SplitLRs[], in DistributeRange() argument
29 typename LiveRangeT::iterator J = LR.begin(), E = LR.end(); in DistributeRange()
40 LR.segments.erase(J, E); in DistributeRange()
43 unsigned j = 0, e = LR.getNumValNums(); in DistributeRange()
47 VNInfo *VNI = LR.getValNumInfo(i); in DistributeRange()
53 LR.valnos[j++] = VNI; in DistributeRange()
56 LR.valnos.resize(j); in DistributeRange()
DLiveRangeCalc.cpp83 Updater.setDest(&I.LR); in updateFromLiveIns()
89 void LiveRangeCalc::extend(LiveRange &LR, SlotIndex Use, unsigned PhysReg, in extend() argument
99 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend()
107 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
124 bool LiveRangeCalc::isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs, in isDefOnEntry() argument
161 LiveRange::iterator UB = std::upper_bound(LR.begin(), LR.end(), in isDefOnEntry()
163 if (UB != LR.begin()) { in isDefOnEntry()
170 if (LR.isUndefIn(Undefs, Seg.end, End)) in isDefOnEntry()
178 if (UndefOnEntry[N] || LR.isUndefIn(Undefs, Begin, End)) { in isDefOnEntry()
194 bool LiveRangeCalc::findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB, in findReachingDefs() argument
[all …]
DLiveInterval.cpp67 LiveRange *LR; member in __anona5179b400111::CalcLiveRangeUtilBase
70 CalcLiveRangeUtilBase(LiveRange *LR) : LR(LR) {} in CalcLiveRangeUtilBase() argument
94 VNInfo *VNI = ForVNI ? ForVNI : LR->getNextValue(Def, *VNInfoAllocator); in createDeadDef()
115 VNInfo *VNI = ForVNI ? ForVNI : LR->getNextValue(Def, *VNInfoAllocator); in createDeadDef()
142 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock()
145 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock()
147 if (LR->isUndefIn(Undefs, I->end, BeforeUse)) in extendInBlock()
288 CalcLiveRangeUtilVector(LiveRange *LR) : CalcLiveRangeUtilVectorBase(LR) {} in CalcLiveRangeUtilVector() argument
293 LiveRange::Segments &segmentsColl() { return LR->segments; } in segmentsColl()
295 void insertAtEnd(const Segment &S) { LR->segments.push_back(S); } in insertAtEnd()
[all …]
DLiveIntervals.cpp115 for (LiveRange *LR : RegUnitRanges) in releaseMemory()
116 delete LR; in releaseMemory()
157 if (LiveRange *LR = RegUnitRanges[Unit]) in print() local
158 OS << printRegUnit(Unit, TRI) << ' ' << *LR << '\n'; in print()
275 void LiveIntervals::computeRegUnitRange(LiveRange &LR, unsigned Unit) { in computeRegUnitRange() argument
291 LICalc->createDeadDefs(LR, Reg); in computeRegUnitRange()
310 LICalc->extendToUses(LR, Reg); in computeRegUnitRange()
317 LR.flushSegmentSet(); in computeRegUnitRange()
342 LiveRange *LR = RegUnitRanges[Unit]; in computeLiveInRegUnits() local
343 if (!LR) { in computeLiveInRegUnits()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveRangeUtils.h26 static void DistributeRange(LiveRangeT &LR, LiveRangeT *SplitLRs[], in DistributeRange() argument
29 typename LiveRangeT::iterator J = LR.begin(), E = LR.end(); in DistributeRange()
40 LR.segments.erase(J, E); in DistributeRange()
43 unsigned j = 0, e = LR.getNumValNums(); in DistributeRange()
47 VNInfo *VNI = LR.getValNumInfo(i); in DistributeRange()
53 LR.valnos[j++] = VNI; in DistributeRange()
56 LR.valnos.resize(j); in DistributeRange()
DLiveRangeCalc.cpp65 LiveRange &LR, const MachineOperand &MO) { in createDeadDef() argument
71 LR.createDeadDef(DefIdx, Alloc); in createDeadDef()
147 void LiveRangeCalc::createDeadDefs(LiveRange &LR, unsigned Reg) { in createDeadDefs() argument
153 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs()
156 void LiveRangeCalc::extendToUses(LiveRange &LR, unsigned Reg, LaneBitmask Mask, in extendToUses() argument
212 extend(LR, UseIdx, Reg, Undefs); in extendToUses()
235 Updater.setDest(&I.LR); in updateFromLiveIns()
241 void LiveRangeCalc::extend(LiveRange &LR, SlotIndex Use, unsigned PhysReg, in extend() argument
251 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend()
259 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
[all …]
DRegAllocFast.cpp192 void killVirtReg(LiveReg &LR);
194 void spillVirtReg(MachineBasicBlock::iterator MI, LiveReg &LR);
211 void allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint);
369 void RegAllocFast::addKillFlag(const LiveReg &LR) { in addKillFlag() argument
370 if (!LR.LastUse) return; in addKillFlag()
371 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); in addKillFlag()
372 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { in addKillFlag()
373 if (MO.getReg() == LR.PhysReg) in addKillFlag()
388 void RegAllocFast::killVirtReg(LiveReg &LR) { in killVirtReg() argument
389 addKillFlag(LR); in killVirtReg()
[all …]
DLiveInterval.cpp67 LiveRange *LR; member in __anon6446d0b40111::CalcLiveRangeUtilBase
70 CalcLiveRangeUtilBase(LiveRange *LR) : LR(LR) {} in CalcLiveRangeUtilBase() argument
94 VNInfo *VNI = ForVNI ? ForVNI : LR->getNextValue(Def, *VNInfoAllocator); in createDeadDef()
115 VNInfo *VNI = ForVNI ? ForVNI : LR->getNextValue(Def, *VNInfoAllocator); in createDeadDef()
142 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock()
145 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock()
147 if (LR->isUndefIn(Undefs, I->end, BeforeUse)) in extendInBlock()
288 CalcLiveRangeUtilVector(LiveRange *LR) : CalcLiveRangeUtilVectorBase(LR) {} in CalcLiveRangeUtilVector() argument
293 LiveRange::Segments &segmentsColl() { return LR->segments; } in segmentsColl()
295 void insertAtEnd(const Segment &S) { LR->segments.push_back(S); } in insertAtEnd()
[all …]
DLiveIntervals.cpp117 for (LiveRange *LR : RegUnitRanges) in releaseMemory()
118 delete LR; in releaseMemory()
159 if (LiveRange *LR = RegUnitRanges[Unit]) in print() local
160 OS << printRegUnit(Unit, TRI) << ' ' << *LR << '\n'; in print()
268 void LiveIntervals::computeRegUnitRange(LiveRange &LR, unsigned Unit) { in computeRegUnitRange() argument
284 LRCalc->createDeadDefs(LR, Reg); in computeRegUnitRange()
303 LRCalc->extendToUses(LR, Reg); in computeRegUnitRange()
310 LR.flushSegmentSet(); in computeRegUnitRange()
335 LiveRange *LR = RegUnitRanges[Unit]; in computeLiveInRegUnits() local
336 if (!LR) { in computeLiveInRegUnits()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DLiveRangeCalc.h104 LiveRange &LR; member
118 LiveInBlock(LiveRange &LR, MachineDomTreeNode *node, SlotIndex kill) in LiveInBlock()
119 : LR(LR), DomNode(node), Kill(kill) {} in LiveInBlock()
130 bool isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs,
150 bool findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB, SlotIndex Use,
208 void extend(LiveRange &LR, SlotIndex Use, unsigned PhysReg,
244 void addLiveInBlock(LiveRange &LR, MachineDomTreeNode *DomNode,
246 LiveIn.push_back(LiveInBlock(LR, DomNode, Kill));
DLiveIntervals.h184 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices,
187 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices) { in extendToIndices() argument
188 extendToIndices(LR, Indices, /*Undefs=*/{}); in extendToIndices()
198 void pruneValue(LiveRange &LR, SlotIndex Kill,
245 bool isLiveInToMBB(const LiveRange &LR, in isLiveInToMBB() argument
247 return LR.liveAt(getMBBStartIdx(mbb)); in isLiveInToMBB()
250 bool isLiveOutOfMBB(const LiveRange &LR, in isLiveOutOfMBB() argument
252 return LR.liveAt(getMBBEndIdx(mbb).getPrevSlot()); in isLiveOutOfMBB()
395 LiveRange *LR = RegUnitRanges[Unit]; in getRegUnit() local
396 if (!LR) { in getRegUnit()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DFunctionInfo.cpp158 LookupResult LR; in lookup() local
159 LR.LookupAddr = Addr; in lookup()
160 LR.FuncRange.Start = FuncAddr; in lookup()
162 LR.FuncRange.End = FuncAddr + Data.getU32(&Offset); in lookup()
173 if (LR.FuncRange.size() > 0 && !LR.FuncRange.contains(Addr)) in lookup()
181 LR.FuncName = GR.getString(NameOffset); in lookup()
225 SrcLoc.Name = LR.FuncName; in lookup()
227 LR.Locations.push_back(SrcLoc); in lookup()
228 return LR; in lookup()
238 SrcLoc.Name = LR.FuncName; in lookup()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorUInt128.h76 template <typename HL, typename LL, typename HR, typename LR>
78 bool operator == (const TensorUInt128<HL, LL>& lhs, const TensorUInt128<HR, LR>& rhs)
83 template <typename HL, typename LL, typename HR, typename LR>
85 bool operator != (const TensorUInt128<HL, LL>& lhs, const TensorUInt128<HR, LR>& rhs)
90 template <typename HL, typename LL, typename HR, typename LR>
92 bool operator >= (const TensorUInt128<HL, LL>& lhs, const TensorUInt128<HR, LR>& rhs)
100 template <typename HL, typename LL, typename HR, typename LR>
102 bool operator < (const TensorUInt128<HL, LL>& lhs, const TensorUInt128<HR, LR>& rhs)
110 template <typename HL, typename LL, typename HR, typename LR>
112 …uint64_t, uint64_t> operator + (const TensorUInt128<HL, LL>& lhs, const TensorUInt128<HR, LR>& rhs)
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DFunctionInfo.cpp155 LookupResult LR; in lookup() local
156 LR.LookupAddr = Addr; in lookup()
157 LR.FuncRange.Start = FuncAddr; in lookup()
159 LR.FuncRange.End = FuncAddr + Data.getU32(&Offset); in lookup()
170 if (Addr >= LR.FuncRange.End) in lookup()
178 LR.FuncName = GR.getString(NameOffset); in lookup()
222 SrcLoc.Name = LR.FuncName; in lookup()
223 LR.Locations.push_back(SrcLoc); in lookup()
224 return LR; in lookup()
234 SrcLoc.Name = LR.FuncName; in lookup()
[all …]
/external/pdfium/xfa/fxfa/fm2js/
Dcxfa_fmexpression_unittest.cpp23 LR"***(var s = ""; in TEST()
32 auto init = pdfium::MakeUnique<CXFA_FMStringExpression>(LR"("")"); in TEST()
36 LR"***(var s = ""; in TEST()
46 auto init = pdfium::MakeUnique<CXFA_FMStringExpression>(LR"("foo")"); in TEST()
50 LR"***(var s = "foo"; in TEST()
64 LR"***(var s = 112; in TEST()
/external/llvm/include/llvm/CodeGen/
DLiveIntervalAnalysis.h174 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices);
184 void pruneValue(LiveRange &LR, SlotIndex Kill,
221 bool isLiveInToMBB(const LiveRange &LR, in isLiveInToMBB() argument
223 return LR.liveAt(getMBBStartIdx(mbb)); in isLiveInToMBB()
226 bool isLiveOutOfMBB(const LiveRange &LR, in isLiveOutOfMBB() argument
228 return LR.liveAt(getMBBEndIdx(mbb).getPrevSlot()); in isLiveOutOfMBB()
375 LiveRange *LR = RegUnitRanges[Unit]; in getRegUnit() local
376 if (!LR) { in getRegUnit()
379 RegUnitRanges[Unit] = LR = new LiveRange(UseSegmentSetForPhysRegs); in getRegUnit()
380 computeRegUnitRange(*LR, Unit); in getRegUnit()
[all …]

12345678910>>...34