LLVM: include/llvm/CodeGen/GlobalISel/MachineFloatingPointPredicateUtils.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_CODEGEN_MACHINEFLOATINGPOINTPREDICATEUTILS_H

10#define LLVM_CODEGEN_MACHINEFLOATINGPOINTPREDICATEUTILS_H

11

14

15namespace llvm {

16

19

20template <>

22MachineFloatingPointPredicateUtils::queryDenormalMode(const MachineFunction &MF,

24

25template <>

26bool MachineFloatingPointPredicateUtils::lookThroughFAbs(

28

29template <>

30std::optional MachineFloatingPointPredicateUtils::matchConstantFloat(

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50inline std::tuple<Register, FPClassTest, FPClassTest>

54 Pred, MF, LHS, RHS, LookThroughSrc);

55}

56

57}

58

59#endif

Utilities for dealing with flags related to floating point properties and mode controls.

This file declares a specialization of the GenericSSAContext template class for Machine IR.

Predicate

This enumeration lists the possible predicates for CmpInst subclasses.

static std::tuple< ValueRefT, FPClassTest, FPClassTest > fcmpImpliesClass(CmpInst::Predicate Pred, const FunctionT &F, ValueRefT LHS, FPClassTest RHSClass, bool LookThroughSrc)

Wrapper class representing virtual and physical registers.

This is an optimization pass for GlobalISel generic memory operations.

std::tuple< Value *, FPClassTest, FPClassTest > fcmpImpliesClass(CmpInst::Predicate Pred, const Function &F, Value *LHS, FPClassTest RHSClass, bool LookThroughSrc=true)

GenericFloatingPointPredicateUtils< MachineSSAContext > MachineFloatingPointPredicateUtils

Definition MachineFloatingPointPredicateUtils.h:17

Represent subnormal handling kind for floating point instruction inputs and outputs.