LLVM: lib/Target/Hexagon/HexagonVectorCombine.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "hexagon-vc"
#define DEFAULT_HVX_VTCM_PAGE_SIZE 131072
#define CallBuilder(B, F)
Functions
Instruction * locateDestination (Instruction *In, HvxIdioms::DstQualifier &Qual)
bool isArithmetic (unsigned Opc)
Value * getPointer (Value *Ptr)
static Instruction * selectDestination (Instruction *In, HvxIdioms::DstQualifier &Qual)
GetElementPtrInst * locateGepFromIntrinsic (Instruction *In)
static Value * locateAddressFromIntrinsic (Instruction *In)
static Type * getIndexType (Value *In)
static Value * locateIndexesFromGEP (Value *In)
static Value * locateIndexesFromIntrinsic (Instruction *In)
Value * getReinterpretiveCast_i16_to_i32 (const HexagonVectorCombine &HVC, IRBuilderBase &Builder, LLVMContext &Ctx, Value *I)
Value * getReinterpretiveCast_i8_to_i32 (const HexagonVectorCombine &HVC, IRBuilderBase &Builder, LLVMContext &Ctx, Value *I)
Value * get_i32_Mask (const HexagonVectorCombine &HVC, IRBuilderBase &Builder, LLVMContext &Ctx, unsigned int pattern)
INITIALIZE_PASS_BEGIN (HexagonVectorCombineLegacy, DEBUG_TYPE, "Hexagon Vector Combine", false, false) INITIALIZE_PASS_END(HexagonVectorCombineLegacy

CallBuilder

#define CallBuilder ( B,
F )

Value:

[&](auto &B_) { \

B_.ToErase.push_back(I); \

return V; \

static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")

LLVM Value Representation.

decltype(auto) dyn_cast(const From &Val)

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

DEBUG_TYPE

#define DEBUG_TYPE "hexagon-vc"

DEFAULT_HVX_VTCM_PAGE_SIZE

#define DEFAULT_HVX_VTCM_PAGE_SIZE 131072

get_i32_Mask()

getIndexType()

getPointer()

getReinterpretiveCast_i16_to_i32()

getReinterpretiveCast_i8_to_i32()

INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( HexagonVectorCombineLegacy ,
DEBUG_TYPE ,
"Hexagon Vector Combine" ,
false ,
false )

isArithmetic()

locateAddressFromIntrinsic()

locateDestination()

locateGepFromIntrinsic()

locateIndexesFromGEP()

locateIndexesFromIntrinsic()

selectDestination()

Combine

DEBUG_TYPE

false