LLVM: include/llvm/Analysis/InterestingMemoryOperand.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_ANALYSIS_INTERESTINGMEMORYOPERAND_H

15#define LLVM_ANALYSIS_INTERESTINGMEMORYOPERAND_H

16

20

21namespace llvm {

23public:

29

31

33

35

36

38

50 PtrUse = &I->getOperandUse(OperandNo);

51 }

52

54

56};

57

58}

59

60#endif

MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL

A parsed version of the target data layout string in and methods for querying it.

InterestingMemoryOperand(Instruction *I, unsigned OperandNo, bool IsWrite, class Type *OpType, MaybeAlign Alignment, Value *MaybeMask=nullptr, Value *MaybeEVL=nullptr, Value *MaybeStride=nullptr, Value *MaybeByteOffset=nullptr)

Definition InterestingMemoryOperand.h:39

Value * MaybeStride

Definition InterestingMemoryOperand.h:34

MaybeAlign Alignment

Definition InterestingMemoryOperand.h:28

Type * OpType

Definition InterestingMemoryOperand.h:26

Use * PtrUse

Definition InterestingMemoryOperand.h:24

bool IsWrite

Definition InterestingMemoryOperand.h:25

Value * MaybeEVL

Definition InterestingMemoryOperand.h:32

Value * MaybeByteOffset

Definition InterestingMemoryOperand.h:37

Instruction * getInsn()

Definition InterestingMemoryOperand.h:53

Value * getPtr()

Definition InterestingMemoryOperand.h:55

Value * MaybeMask

Definition InterestingMemoryOperand.h:30

TypeSize TypeStoreSize

Definition InterestingMemoryOperand.h:27

static constexpr TypeSize getFixed(ScalarTy ExactSize)

The instances of the Type class are immutable: once they are created, they are never changed.

A Use represents the edge between a Value definition and its users.

LLVM Value Representation.

This is an optimization pass for GlobalISel generic memory operations.

decltype(auto) cast(const From &Val)

cast - Return the argument parameter cast to the specified type.

This struct is a compact representation of a valid (power of two) or undefined (0) alignment.