Home
last modified time | relevance | path

Searched refs:NewR (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DValueLattice.h219 void markConstantRange(ConstantRange NewR) { in markConstantRange() argument
221 if (NewR.isEmptySet()) in markConstantRange()
224 Range = std::move(NewR); in markConstantRange()
230 if (NewR.isEmptySet()) in markConstantRange()
234 new (&Range) ConstantRange(std::move(NewR)); in markConstantRange()
275 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange()); in mergeIn() local
276 if (NewR.isFullSet()) in mergeIn()
278 else if (NewR == getConstantRange()) in mergeIn()
281 markConstantRange(std::move(NewR)); in mergeIn()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonBitSimplify.cpp209 static bool replaceReg(unsigned OldR, unsigned NewR,
213 static bool replaceRegWithSub(unsigned OldR, unsigned NewR,
216 unsigned NewR, unsigned NewSR, MachineRegisterInfo &MRI);
355 bool HexagonBitSimplify::replaceReg(unsigned OldR, unsigned NewR, in replaceReg() argument
358 !TargetRegisterInfo::isVirtualRegister(NewR)) in replaceReg()
364 I->setReg(NewR); in replaceReg()
369 bool HexagonBitSimplify::replaceRegWithSub(unsigned OldR, unsigned NewR, in replaceRegWithSub() argument
372 !TargetRegisterInfo::isVirtualRegister(NewR)) in replaceRegWithSub()
380 I->setReg(NewR); in replaceRegWithSub()
387 unsigned NewR, unsigned NewSR, MachineRegisterInfo &MRI) { in replaceSubWithSub() argument
[all …]
DHexagonConstPropagation.cpp2870 unsigned NewR = MRI->createVirtualRegister(PredRC); in rewriteHexConstDefs() local
2871 const MachineInstrBuilder &MIB = BuildMI(B, At, DL, *NewD, NewR); in rewriteHexConstDefs()
2876 replaceAllRegUsesWith(R, NewR); in rewriteHexConstDefs()
2892 unsigned NewR = MRI->createVirtualRegister(NewRC); in rewriteHexConstDefs() local
2897 NewMI = BuildMI(B, At, DL, *NewD, NewR) in rewriteHexConstDefs()
2902 NewMI = BuildMI(B, At, DL, *NewD, NewR) in rewriteHexConstDefs()
2909 NewMI = BuildMI(B, At, DL, *NewD, NewR) in rewriteHexConstDefs()
2914 NewMI = BuildMI(B, At, DL, *NewD, NewR) in rewriteHexConstDefs()
2923 replaceAllRegUsesWith(R, NewR); in rewriteHexConstDefs()
2975 unsigned NewR = R1.Reg; in rewriteHexConstUses() local
[all …]
DHexagonEarlyIfConv.cpp996 unsigned NewR = UseR; in eliminatePhis() local
1003 NewR = MRI->createVirtualRegister(RC); in eliminatePhis()
1004 NonPHI = BuildMI(*B, NonPHI, DL, HII->get(TargetOpcode::COPY), NewR) in eliminatePhis()
1007 MRI->replaceRegWith(DefR, NewR); in eliminatePhis()
DHexagonSplitDouble.cpp678 unsigned NewR = MRI->createVirtualRegister(RC); in splitMemRef() local
680 BuildMI(B, MI, DL, TII->get(Hexagon::A2_addi), NewR) in splitMemRef()
683 MRI->replaceRegWith(UpdOp.getReg(), NewR); in splitMemRef()
DHexagonGenInsert.cpp1414 unsigned NewR = RegMap[I->first]; in generateInserts() local
1415 bool R32 = MRI->getRegClass(NewR) == &Hexagon::IntRegsRegClass; in generateInserts()
1434 BuildMI(B, At, DL, D, NewR) in generateInserts()
DHexagonHardwareLoops.cpp1592 unsigned NewR = MRI->createVirtualRegister(RC); in setImmediate() local
1595 BuildMI(B, DI, DL, TII->get(DI->getOpcode()), NewR).addImm(Val); in setImmediate()
1596 MO.setReg(NewR); in setImmediate()
/external/llvm/lib/Target/Hexagon/
DHexagonBitSimplify.cpp165 static bool replaceReg(unsigned OldR, unsigned NewR,
169 static bool replaceRegWithSub(unsigned OldR, unsigned NewR,
172 unsigned NewR, unsigned NewSR, MachineRegisterInfo &MRI);
311 bool HexagonBitSimplify::replaceReg(unsigned OldR, unsigned NewR, in replaceReg() argument
314 !TargetRegisterInfo::isVirtualRegister(NewR)) in replaceReg()
320 I->setReg(NewR); in replaceReg()
326 bool HexagonBitSimplify::replaceRegWithSub(unsigned OldR, unsigned NewR, in replaceRegWithSub() argument
329 !TargetRegisterInfo::isVirtualRegister(NewR)) in replaceRegWithSub()
335 I->setReg(NewR); in replaceRegWithSub()
343 unsigned NewR, unsigned NewSR, MachineRegisterInfo &MRI) { in replaceSubWithSub() argument
[all …]
DHexagonEarlyIfConv.cpp958 unsigned NewR = UseR; in eliminatePhis() local
965 NewR = MRI->createVirtualRegister(RC); in eliminatePhis()
966 NonPHI = BuildMI(*B, NonPHI, DL, TII->get(TargetOpcode::COPY), NewR) in eliminatePhis()
969 MRI->replaceRegWith(DefR, NewR); in eliminatePhis()
DHexagonSplitDouble.cpp632 unsigned NewR = MRI->createVirtualRegister(RC); in splitMemRef() local
634 BuildMI(B, MI, DL, TII->get(Hexagon::A2_addi), NewR) in splitMemRef()
637 MRI->replaceRegWith(UpdOp.getReg(), NewR); in splitMemRef()
DHexagonGenInsert.cpp1382 unsigned NewR = RegMap[I->first]; in generateInserts() local
1383 bool R32 = MRI->getRegClass(NewR) == &Hexagon::IntRegsRegClass; in generateInserts()
1402 BuildMI(B, At, DL, D, NewR) in generateInserts()
DHexagonHardwareLoops.cpp1552 unsigned NewR = MRI->createVirtualRegister(RC); in setImmediate() local
1555 BuildMI(B, DI, DL, TII->get(DI->getOpcode()), NewR).addImm(Val); in setImmediate()
1556 MO.setReg(NewR); in setImmediate()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp165 bool markConstantRange(const ConstantRange NewR) { in markConstantRange() argument
167 if (NewR.isEmptySet()) in markConstantRange()
170 bool changed = Range == NewR; in markConstantRange()
171 Range = NewR; in markConstantRange()
176 if (NewR.isEmptySet()) in markConstantRange()
180 Range = NewR; in markConstantRange()
260 ConstantRange NewR = Range.unionWith(RHS.getConstantRange()); in mergeIn() local
261 if (NewR.isFullSet()) in mergeIn()
263 return markConstantRange(NewR); in mergeIn()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp185 bool markConstantRange(ConstantRange NewR) { in markConstantRange() argument
187 if (NewR.isEmptySet()) in markConstantRange()
190 bool changed = Range != NewR; in markConstantRange()
191 Range = std::move(NewR); in markConstantRange()
196 if (NewR.isEmptySet()) in markConstantRange()
200 Range = std::move(NewR); in markConstantRange()
271 ConstantRange NewR = Range.unionWith(RHS.getConstantRange()); in mergeIn() local
272 if (NewR.isFullSet()) in mergeIn()
274 return markConstantRange(NewR); in mergeIn()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringMIPS32.cpp4734 auto *NewR = legalizeToReg(New); in lowerIntrinsicCall() local
4760 _andi(RegAt, NewR, Mask); in lowerIntrinsicCall()
4784 Context.insert<InstFakeUse>(NewR); in lowerIntrinsicCall()
4788 auto *NewR = legalizeToReg(New); in lowerIntrinsicCall() local
4795 _mov(T2, NewR); in lowerIntrinsicCall()
4803 Context.insert<InstFakeUse>(NewR); in lowerIntrinsicCall()
4831 auto *NewR = legalizeToReg(New); in lowerIntrinsicCall() local
4849 _sllv(T5, NewR, T2); in lowerIntrinsicCall()
4871 Context.insert<InstFakeUse>(NewR); in lowerIntrinsicCall()
4876 auto *NewR = legalizeToReg(New); in lowerIntrinsicCall() local
[all …]