Home
last modified time | relevance | path

Searched refs:NewSense (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.h97 struct NewSense { struct
101 static NewSense Jmp(bool isNVJ) { in Jmp() argument
102 NewSense NS = { /*PredReg=*/ 0, /*IsFloat=*/ false, /*IsNVJ=*/ isNVJ, in Jmp()
106 static NewSense Use(unsigned PR, bool True) { in Use() argument
107 NewSense NS = { /*PredReg=*/ PR, /*IsFloat=*/ false, /*IsNVJ=*/ false, in Use()
111 static NewSense Def(unsigned PR, bool True, bool Float) { in Def() argument
112 NewSense NS = { /*PredReg=*/ PR, /*IsFloat=*/ Float, /*IsNVJ=*/ false, in Def()
118 typedef llvm::SmallVector<NewSense,2> NewSenseList;
147 typedef llvm::DenseMap<unsigned, NewSense>::iterator NewUsesIterator;
148 llvm::DenseMap<unsigned, NewSense> NewUses;
[all …]
DHexagonMCChecker.cpp185 … NewDefs[*SRI].push_back(NewSense::Def(PredReg, HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI), in init()
197 … NewDefs[*SRI].push_back(NewSense::Def(PredReg, HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI), in init()
219 … NewUses[N] = NewSense::Jmp(llvm::HexagonMCInstrInfo::getType(MCII, MCI) == HexagonII::TypeNV); in init()
221 NewUses[N] = NewSense::Use(PredReg, HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI)); in init()
367 NewSense &US = I.second; in checkNewValues()
557 bool HexagonMCChecker::hasValidNewValueDef(const NewSense &Use, in hasValidNewValueDef()
562 const NewSense &Def = Defs[i]; in hasValidNewValueDef()