|
Intel SPMD Program Compiler
1.3.0
|
#include <llvmutil.h>

Static Public Attributes | |
| static llvm::Type * | VoidType = NULL |
| static llvm::PointerType * | VoidPointerType = NULL |
| static llvm::Type * | PointerIntType = NULL |
| static llvm::Type * | BoolType = NULL |
| static llvm::Type * | Int8Type = NULL |
| static llvm::Type * | Int16Type = NULL |
| static llvm::Type * | Int32Type = NULL |
| static llvm::Type * | Int64Type = NULL |
| static llvm::Type * | FloatType = NULL |
| static llvm::Type * | DoubleType = NULL |
| static llvm::Type * | Int8PointerType = NULL |
| static llvm::Type * | Int16PointerType = NULL |
| static llvm::Type * | Int32PointerType = NULL |
| static llvm::Type * | Int64PointerType = NULL |
| static llvm::Type * | FloatPointerType = NULL |
| static llvm::Type * | DoublePointerType = NULL |
| static llvm::VectorType * | MaskType = NULL |
| static llvm::VectorType * | BoolVectorType = NULL |
| static llvm::VectorType * | Int1VectorType = NULL |
| static llvm::VectorType * | Int8VectorType = NULL |
| static llvm::VectorType * | Int16VectorType = NULL |
| static llvm::VectorType * | Int32VectorType = NULL |
| static llvm::VectorType * | Int64VectorType = NULL |
| static llvm::VectorType * | FloatVectorType = NULL |
| static llvm::VectorType * | DoubleVectorType = NULL |
| static llvm::Type * | Int8VectorPointerType = NULL |
| static llvm::Type * | Int16VectorPointerType = NULL |
| static llvm::Type * | Int32VectorPointerType = NULL |
| static llvm::Type * | Int64VectorPointerType = NULL |
| static llvm::Type * | FloatVectorPointerType = NULL |
| static llvm::Type * | DoubleVectorPointerType = NULL |
| static llvm::VectorType * | VoidPointerVectorType = NULL |
This structure holds pointers to a variety of LLVM types; code elsewhere can use them from here, ratherthan needing to make more verbose LLVM API calls.
Definition at line 56 of file llvmutil.h.
llvm::Type * LLVMTypes::BoolType = NULL [static] |
Definition at line 60 of file llvmutil.h.
Referenced by ForStmt::EmitCode(), ForeachStmt::EmitCode(), InitLLVMUtil(), lGetMatchingBoolVectorType(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), and FunctionEmitContext::MemcpyInst().
llvm::VectorType * LLVMTypes::BoolVectorType = NULL [static] |
Definition at line 78 of file llvmutil.h.
Referenced by FunctionEmitContext::I1VecToBoolVec(), InitLLVMUtil(), lGenericTypeLayoutIndeterminate(), LLVMBoolVector(), AtomicType::LLVMType(), and lTypeConvAtomic().
llvm::Type * LLVMTypes::DoublePointerType = NULL [static] |
Definition at line 74 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
llvm::Type * LLVMTypes::DoubleType = NULL [static] |
Definition at line 67 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), and lTypeConvAtomic().
llvm::Type * LLVMTypes::DoubleVectorPointerType = NULL [static] |
Definition at line 92 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
llvm::VectorType * LLVMTypes::DoubleVectorType = NULL [static] |
Definition at line 85 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lCoalesceGathers(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), lTypeConvAtomic(), and FunctionEmitContext::scatter().
llvm::Type * LLVMTypes::FloatPointerType = NULL [static] |
Definition at line 73 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
llvm::Type * LLVMTypes::FloatType = NULL [static] |
Definition at line 66 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), and lTypeConvAtomic().
llvm::Type * LLVMTypes::FloatVectorPointerType = NULL [static] |
Definition at line 91 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
llvm::VectorType * LLVMTypes::FloatVectorType = NULL [static] |
Definition at line 84 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lCoalesceGathers(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), lTypeConvAtomic(), and FunctionEmitContext::scatter().
llvm::Type * LLVMTypes::Int16PointerType = NULL [static] |
Definition at line 70 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
llvm::Type * LLVMTypes::Int16Type = NULL [static] |
Definition at line 63 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), and lTypeConvAtomic().
llvm::Type * LLVMTypes::Int16VectorPointerType = NULL [static] |
Definition at line 88 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
llvm::VectorType * LLVMTypes::Int16VectorType = NULL [static] |
Definition at line 81 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), lTypeConvAtomic(), and FunctionEmitContext::scatter().
llvm::VectorType * LLVMTypes::Int1VectorType = NULL [static] |
Definition at line 79 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGenericTypeLayoutIndeterminate(), and lTypeConvAtomic().
llvm::Type * LLVMTypes::Int32PointerType = NULL [static] |
Definition at line 71 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
llvm::Type * LLVMTypes::Int32Type = NULL [static] |
Definition at line 64 of file llvmutil.h.
Referenced by FunctionEmitContext::applyVaryingGEP(), FunctionEmitContext::CallInst(), ForeachStmt::EmitCode(), ForeachActiveStmt::EmitCode(), InitLLVMUtil(), lApplyLoad2(), lAssemble4Vector(), lComputeSliceIndex(), lDefineConstantInt(), lEmitBinaryPointerArith(), lEmitLoads(), lGSToLoadStore(), lLLVMTypeToISPCType(), LLVMBoolVector(), FunctionType::LLVMFunctionType(), LLVMShuffleVectors(), AtomicType::LLVMType(), EnumType::LLVMType(), PointerType::LLVMType(), lTypeConvAtomic(), FunctionEmitContext::MemcpyInst(), IntrinsicsOpt::runOnBasicBlock(), Target::SizeOf(), Target::StructOffset(), and FunctionEmitContext::SwitchInst().
llvm::Type * LLVMTypes::Int32VectorPointerType = NULL [static] |
Definition at line 89 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
llvm::VectorType * LLVMTypes::Int32VectorType = NULL [static] |
Definition at line 82 of file llvmutil.h.
Referenced by FunctionEmitContext::applyVaryingGEP(), FunctionEmitContext::EmitCaseLabel(), ForeachStmt::EmitCode(), ForeachActiveStmt::EmitCode(), FunctionEmitContext::EmitDefaultLabel(), FunctionEmitContext::gather(), InitLLVMUtil(), lAddVaryingOffsetsIfNeeded(), lCoalesceGathers(), lComputeSliceIndex(), lDefineProgramIndex(), lEmitBinaryPointerArith(), lExtract248Scale(), lLLVMTypeToISPCType(), LLVMBoolVector(), AtomicType::LLVMType(), EnumType::LLVMType(), PointerType::LLVMType(), lOffsets32BitSafe(), lTypeConvAtomic(), lUpdateVaryingCounter(), FunctionEmitContext::MatchIntegerTypes(), and FunctionEmitContext::scatter().
llvm::Type * LLVMTypes::Int64PointerType = NULL [static] |
Definition at line 72 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
llvm::Type * LLVMTypes::Int64Type = NULL [static] |
Definition at line 65 of file llvmutil.h.
Referenced by FunctionEmitContext::applyVaryingGEP(), ForeachActiveStmt::EmitCode(), ForeachUniqueStmt::EmitCode(), NewExpr::GetValue(), InitLLVMUtil(), lApplyLoad2(), FunctionEmitContext::LaunchInst(), lComputeBasePtr(), lComputeSliceIndex(), lEmitLoads(), lGSToLoadStore(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), lTypeConvAtomic(), FunctionEmitContext::MemcpyInst(), Target::SizeOf(), Target::StructOffset(), and FunctionEmitContext::SwitchInst().
llvm::Type * LLVMTypes::Int64VectorPointerType = NULL [static] |
Definition at line 90 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
llvm::VectorType * LLVMTypes::Int64VectorType = NULL [static] |
Definition at line 83 of file llvmutil.h.
Referenced by FunctionEmitContext::AddElementOffset(), FunctionEmitContext::addVaryingOffsetsIfNeeded(), FunctionEmitContext::applyVaryingGEP(), DeleteStmt::EmitCode(), FunctionEmitContext::gather(), InitLLVMUtil(), lCoalesceGathers(), lComputeSliceIndex(), lGSBaseOffsetsGetMoreConst(), lGSToLoadStore(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), lTypeConvAtomic(), FunctionEmitContext::MatchIntegerTypes(), and FunctionEmitContext::scatter().
llvm::Type * LLVMTypes::Int8PointerType = NULL [static] |
Definition at line 69 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
llvm::Type * LLVMTypes::Int8Type = NULL [static] |
Definition at line 62 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), lTypeConvAtomic(), and StructType::StructType().
llvm::Type * LLVMTypes::Int8VectorPointerType = NULL [static] |
Definition at line 87 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
llvm::VectorType * LLVMTypes::Int8VectorType = NULL [static] |
Definition at line 80 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lLLVMTypeToISPCType(), AtomicType::LLVMType(), lTypeConvAtomic(), and FunctionEmitContext::scatter().
llvm::VectorType * LLVMTypes::MaskType = NULL [static] |
Definition at line 76 of file llvmutil.h.
Referenced by FunctionEmitContext::CallInst(), ForeachStmt::EmitCode(), FunctionEmitContext::FunctionEmitContext(), SelectExpr::GetValue(), InitLLVMUtil(), lGenericTypeLayoutIndeterminate(), lLLVMTypeToISPCType(), FunctionType::LLVMFunctionType(), FunctionEmitContext::StartForeach(), FunctionEmitContext::StartLoop(), and FunctionEmitContext::StartSwitch().
llvm::Type * LLVMTypes::PointerIntType = NULL [static] |
Definition at line 59 of file llvmutil.h.
Referenced by InitLLVMUtil(), lConvertPointerConstant(), and FunctionEmitContext::PtrToIntInst().
llvm::PointerType * LLVMTypes::VoidPointerType = NULL [static] |
Definition at line 58 of file llvmutil.h.
Referenced by PrintStmt::EmitCode(), DeleteStmt::EmitCode(), FunctionEmitContext::FunctionEmitContext(), FunctionEmitContext::GetStringPtr(), NullPointerExpr::GetValue(), InitLLVMUtil(), FunctionEmitContext::LaunchInst(), lGSToGSBaseOffsets(), lLLVMConstantValue(), PointerType::LLVMType(), lProcessPrintArg(), FunctionEmitContext::MemcpyInst(), and FunctionEmitContext::SyncInst().
llvm::VectorType * LLVMTypes::VoidPointerVectorType = NULL [static] |
Definition at line 94 of file llvmutil.h.
Referenced by NewExpr::GetValue(), InitLLVMUtil(), lLLVMConstantValue(), PointerType::LLVMType(), and FunctionEmitContext::SmearUniform().
llvm::Type * LLVMTypes::VoidType = NULL [static] |
Definition at line 57 of file llvmutil.h.
Referenced by FunctionEmitContext::CallInst(), FunctionEmitContext::FunctionEmitContext(), InitLLVMUtil(), lLLVMTypeToISPCType(), and FunctionEmitContext::MemcpyInst().
1.7.5.1