Lines Matching defs:ModelledPHI
230 class ModelledPHI {
235 ModelledPHI() = default;
237 ModelledPHI(const PHINode *PN) {
249 /// Create a dummy ModelledPHI that will compare unequal to any other ModelledPHI
252 static ModelledPHI createDummy(size_t ID) {
253 ModelledPHI M;
260 ModelledPHI(const VArray &V, const BArray &B) {
267 ModelledPHI(ArrayRef<Instruction *> Insts, unsigned OpNum, const BArray &B) {
312 bool operator==(const ModelledPHI &Other) const {
317 template <typename ModelledPHI> struct DenseMapInfo {
318 static inline ModelledPHI &getEmptyKey() {
319 static ModelledPHI Dummy = ModelledPHI::createDummy(0);
323 static inline ModelledPHI &getTombstoneKey() {
324 static ModelledPHI Dummy = ModelledPHI::createDummy(1);
328 static unsigned getHashValue(const ModelledPHI &V) { return V.hash(); }
330 static bool isEqual(const ModelledPHI &LHS, const ModelledPHI &RHS) {
335 using ModelledPHISet = DenseSet<ModelledPHI, DenseMapInfo<ModelledPHI>>;
599 /// Create a ModelledPHI for each PHI in BB, adding to PHIs.
603 auto MPHI = ModelledPHI(&PN);
694 ModelledPHI NewPHI(NewInsts, ActivePreds);
733 ModelledPHI PHI(NewInsts, OpNum, ActivePreds);