/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PeepholeOptimizer.cpp | 101 using RegSubRegPair = TargetInstrInfo::RegSubRegPair; typedef 182 using RewriteMapTy = SmallDenseMap<RegSubRegPair, ValueTrackerResult>; 198 bool findNextSource(RegSubRegPair RegSubReg, RewriteMapTy &RewriteMap); 255 RegSubRegPair Def, RewriteMapTy &RewriteMap); 286 SmallVector<RegSubRegPair, 2> RegSrcs; 309 RegSrcs.push_back(RegSubRegPair(SrcReg, SrcSubReg)); in addSource() 314 RegSrcs[Idx] = RegSubRegPair(SrcReg, SrcSubReg); in setSource() 319 RegSubRegPair getSrc(int Idx) const { in getSrc() 660 bool PeepholeOptimizer::findNextSource(RegSubRegPair RegSubReg, in findNextSource() 671 SmallVector<RegSubRegPair, 4> SrcToLook; in findNextSource() [all …]
|
D | TailDuplicator.cpp | 341 DenseMap<unsigned, RegSubRegPair> &LocalVRMap, in processPHI() 342 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies, in processPHI() 350 LocalVRMap.insert(std::make_pair(DefReg, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 355 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 373 DenseMap<unsigned, RegSubRegPair> &LocalVRMap, in duplicateInstruction() 395 LocalVRMap.insert(std::make_pair(Reg, RegSubRegPair(NewReg, 0))); in duplicateInstruction() 442 LocalVRMap.insert(std::make_pair(Reg, RegSubRegPair(NewReg, 0))); in duplicateInstruction() 842 DenseMap<unsigned, RegSubRegPair> LocalVRMap; in tailDuplicate() 843 SmallVector<std::pair<unsigned, RegSubRegPair>, 4> CopyInfos; in tailDuplicate() 903 DenseMap<unsigned, RegSubRegPair> LocalVRMap; in tailDuplicate() [all …]
|
D | TargetInstrInfo.cpp | 1207 RegSubRegPair &BaseReg, RegSubRegPairAndIdx &InsertedReg) const { in getInsertSubregInputs()
|
/external/llvm/include/llvm/CodeGen/ |
D | TailDuplicator.h | 58 typedef TargetInstrInfo::RegSubRegPair RegSubRegPair; typedef 64 DenseMap<unsigned, RegSubRegPair> &LocalVRMap, 65 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies, 69 DenseMap<unsigned, RegSubRegPair> &LocalVRMap, 84 SmallVectorImpl<std::pair<unsigned,RegSubRegPair>> &CopyInfos,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TailDuplicator.h | 91 using RegSubRegPair = TargetInstrInfo::RegSubRegPair; 97 DenseMap<unsigned, RegSubRegPair> &LocalVRMap, 98 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies, 102 DenseMap<unsigned, RegSubRegPair> &LocalVRMap, 118 SmallVectorImpl<std::pair<unsigned,RegSubRegPair>> &CopyInfos,
|
D | TargetInstrInfo.h | 426 struct RegSubRegPair { struct 430 RegSubRegPair(unsigned Reg = 0, unsigned SubReg = 0) argument 437 struct RegSubRegPairAndIdx : RegSubRegPair { argument 442 : RegSubRegPair(Reg, SubReg), SubIdx(SubIdx) {} in RegSubRegPair() function 503 RegSubRegPair &BaseReg, 1057 RegSubRegPair &BaseReg, in getInsertSubregLikeInputs() 1666 template <> struct DenseMapInfo<TargetInstrInfo::RegSubRegPair> { 1669 static inline TargetInstrInfo::RegSubRegPair getEmptyKey() { 1670 return TargetInstrInfo::RegSubRegPair(RegInfo::getEmptyKey(), 1674 static inline TargetInstrInfo::RegSubRegPair getTombstoneKey() { [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 357 struct RegSubRegPair { struct 360 RegSubRegPair(unsigned Reg = 0, unsigned SubReg = 0) argument 366 struct RegSubRegPairAndIdx : RegSubRegPair { argument 370 : RegSubRegPair(Reg, SubReg), SubIdx(SubIdx) {} in RegSubRegPair() function 430 RegSubRegPair &BaseReg, 963 RegSubRegPair &BaseReg, in getInsertSubregLikeInputs() 1489 struct DenseMapInfo<TargetInstrInfo::RegSubRegPair> { 1492 static inline TargetInstrInfo::RegSubRegPair getEmptyKey() { 1493 return TargetInstrInfo::RegSubRegPair(RegInfo::getEmptyKey(), 1496 static inline TargetInstrInfo::RegSubRegPair getTombstoneKey() { [all …]
|
/external/llvm/lib/CodeGen/ |
D | PeepholeOptimizer.cpp | 147 typedef SmallDenseMap<TargetInstrInfo::RegSubRegPair, ValueTrackerResult> 218 SmallVector<TargetInstrInfo::RegSubRegPair, 2> RegSrcs; 240 RegSrcs.push_back(TargetInstrInfo::RegSubRegPair(SrcReg, SrcSubReg)); in addSource() 245 RegSrcs[Idx] = TargetInstrInfo::RegSubRegPair(SrcReg, SrcSubReg); in setSource() 626 SmallVector<TargetInstrInfo::RegSubRegPair, 4> SrcToLook; in findNextSource() 627 TargetInstrInfo::RegSubRegPair CurSrcPair(Reg, SubReg); in findNextSource() 632 TargetInstrInfo::RegSubRegPair Pair = SrcToLook.pop_back_val(); in findNextSource() 670 SrcToLook.push_back(TargetInstrInfo::RegSubRegPair( in findNextSource() 715 const SmallVectorImpl<TargetInstrInfo::RegSubRegPair> &SrcRegs, in insertPHI() 818 TargetInstrInfo::RegSubRegPair [all …]
|
D | TailDuplicator.cpp | 305 DenseMap<unsigned, RegSubRegPair> &LocalVRMap, in processPHI() 306 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies, in processPHI() 314 LocalVRMap.insert(std::make_pair(DefReg, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 319 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 338 DenseMap<unsigned, RegSubRegPair> &LocalVRMap, in duplicateInstruction() 353 LocalVRMap.insert(std::make_pair(Reg, RegSubRegPair(NewReg, 0))); in duplicateInstruction() 400 LocalVRMap.insert(std::make_pair(Reg, RegSubRegPair(NewReg, 0))); in duplicateInstruction() 770 DenseMap<unsigned, RegSubRegPair> LocalVRMap; in tailDuplicate() 771 SmallVector<std::pair<unsigned, RegSubRegPair>, 4> CopyInfos; in tailDuplicate() 823 DenseMap<unsigned, RegSubRegPair> LocalVRMap; in tailDuplicate() [all …]
|
D | TargetInstrInfo.cpp | 1173 RegSubRegPair &BaseReg, RegSubRegPairAndIdx &InsertedReg) const { in getInsertSubregInputs()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 85 RegSubRegPair &BaseReg,
|
D | ARMBaseInstrInfo.cpp | 4642 const MachineInstr &MI, unsigned DefIdx, RegSubRegPair &BaseReg, in getInsertSubregLikeInputs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 90 RegSubRegPair &BaseReg,
|
D | ARMBaseInstrInfo.cpp | 5041 const MachineInstr &MI, unsigned DefIdx, RegSubRegPair &BaseReg, in getInsertSubregLikeInputs()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.cpp | 2014 RegSubRegPair SGPRUsed; in isOperandLegal() 2016 SGPRUsed = RegSubRegPair(MO->getReg(), MO->getSubReg()); in isOperandLegal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.cpp | 3211 RegSubRegPair SGPRUsed; in isOperandLegal() 3213 SGPRUsed = RegSubRegPair(MO->getReg(), MO->getSubReg()); in isOperandLegal()
|