Lines Matching refs:Opc

349 static bool isT1i32Load(unsigned Opc) {  in isT1i32Load()  argument
350 return Opc == ARM::tLDRi || Opc == ARM::tLDRspi; in isT1i32Load()
353 static bool isT2i32Load(unsigned Opc) { in isT2i32Load() argument
354 return Opc == ARM::t2LDRi12 || Opc == ARM::t2LDRi8; in isT2i32Load()
357 static bool isi32Load(unsigned Opc) { in isi32Load() argument
358 return Opc == ARM::LDRi12 || isT1i32Load(Opc) || isT2i32Load(Opc) ; in isi32Load()
361 static bool isT1i32Store(unsigned Opc) { in isT1i32Store() argument
362 return Opc == ARM::tSTRi || Opc == ARM::tSTRspi; in isT1i32Store()
365 static bool isT2i32Store(unsigned Opc) { in isT2i32Store() argument
366 return Opc == ARM::t2STRi12 || Opc == ARM::t2STRi8; in isT2i32Store()
369 static bool isi32Store(unsigned Opc) { in isi32Store() argument
370 return Opc == ARM::STRi12 || isT1i32Store(Opc) || isT2i32Store(Opc); in isi32Store()
373 static bool isLoadSingle(unsigned Opc) { in isLoadSingle() argument
374 return isi32Load(Opc) || Opc == ARM::VLDRS || Opc == ARM::VLDRD; in isLoadSingle()
377 static unsigned getImmScale(unsigned Opc) { in getImmScale() argument
378 switch (Opc) { in getImmScale()
450 unsigned Opc = MBBI->getOpcode(); in UpdateBaseRegUses() local
455 Opc == ARM::tLDRi || Opc == ARM::tLDRHi || Opc == ARM::tLDRBi; in UpdateBaseRegUses()
457 Opc == ARM::tSTRi || Opc == ARM::tSTRHi || Opc == ARM::tSTRBi; in UpdateBaseRegUses()
467 Offset = MO.getImm() - WordOffset * getImmScale(Opc); in UpdateBaseRegUses()
477 } else if ((Opc == ARM::tSUBi8 || Opc == ARM::tADDi8) && in UpdateBaseRegUses()
484 Offset = (Opc == ARM::tSUBi8) ? in UpdateBaseRegUses()
1016 static unsigned getUpdatingLSMultipleOpcode(unsigned Opc, in getUpdatingLSMultipleOpcode() argument
1018 switch (Opc) { in getUpdatingLSMultipleOpcode()
1218 static unsigned getPreIndexedLoadStoreOpcode(unsigned Opc, in getPreIndexedLoadStoreOpcode() argument
1220 switch (Opc) { in getPreIndexedLoadStoreOpcode()
1243 static unsigned getPostIndexedLoadStoreOpcode(unsigned Opc, in getPostIndexedLoadStoreOpcode() argument
1245 switch (Opc) { in getPostIndexedLoadStoreOpcode()
2273 int Opc = MI->getOpcode(); in RescheduleLoadStoreInstrs() local
2274 bool isLd = isLoadSingle(Opc); in RescheduleLoadStoreInstrs()