Intel® Implicit SPMD Program Compiler (Intel® ISPC)
1.13.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 * | BoolStorageType = 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 * | BoolVectorStorageType = 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 58 of file llvmutil.h.
|
static |
Definition at line 63 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lGetAtomicLLVMType().
|
static |
Definition at line 62 of file llvmutil.h.
Referenced by ForStmt::EmitCode(), ForeachStmt::EmitCode(), InitLLVMUtil(), lGetAtomicLLVMType(), lGetMatchingBoolVectorType(), lLLVMTypeToISPCType(), lUniformValueToVarying(), and FunctionEmitContext::MemcpyInst().
|
static |
Definition at line 82 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGetAtomicLLVMType(), lUniformValueToVarying(), FunctionEmitContext::maskedStore(), and FunctionEmitContext::scatter().
|
static |
Definition at line 81 of file llvmutil.h.
Referenced by FunctionEmitContext::I1VecToBoolVec(), InitLLVMUtil(), lGenericTypeLayoutIndeterminate(), lGetAtomicLLVMType(), LLVMBoolVector(), and lTypeConvAtomic().
|
static |
Definition at line 77 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
|
static |
Definition at line 70 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGetAtomicLLVMType(), lGSToLoadStore(), lLLVMTypeToISPCType(), and lTypeConvAtomic().
|
static |
Definition at line 96 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
|
static |
Definition at line 89 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lCoalesceGathers(), lGetAtomicLLVMType(), lLLVMTypeToISPCType(), lTypeConvAtomic(), FunctionEmitContext::maskedStore(), and FunctionEmitContext::scatter().
|
static |
Definition at line 76 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
|
static |
Definition at line 69 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGetAtomicLLVMType(), lGSToLoadStore(), lLLVMTypeToISPCType(), and lTypeConvAtomic().
|
static |
Definition at line 95 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
|
static |
Definition at line 88 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lCoalesceGathers(), lGetAtomicLLVMType(), lLLVMTypeToISPCType(), lTypeConvAtomic(), FunctionEmitContext::maskedStore(), and FunctionEmitContext::scatter().
|
static |
Definition at line 73 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
|
static |
Definition at line 66 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGetAtomicLLVMType(), lGSToLoadStore(), lLLVMTypeToISPCType(), LLVMBoolVector(), and lTypeConvAtomic().
|
static |
Definition at line 92 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
|
static |
Definition at line 85 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lGetAtomicLLVMType(), lLLVMTypeToISPCType(), LLVMBoolVector(), lTypeConvAtomic(), m_SExt16To32(), m_SExt8To16(), m_Trunc16To8(), m_Trunc32To16(), m_ZExt16To32(), m_ZExt8To16(), FunctionEmitContext::maskedStore(), and FunctionEmitContext::scatter().
|
static |
Definition at line 83 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lGenericTypeLayoutIndeterminate(), LLVMBoolVector(), lTypeConvAtomic(), FunctionEmitContext::maskedStore(), and InstructionSimplifyPass::simplifyBoolVec().
|
static |
Definition at line 74 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
|
static |
Definition at line 67 of file llvmutil.h.
Referenced by FunctionEmitContext::applyVaryingGEP(), FunctionEmitContext::CallInst(), Function::emitCode(), ForeachStmt::EmitCode(), ForeachActiveStmt::EmitCode(), InitLLVMUtil(), lApplyLoad2(), lAssemble4Vector(), lComputeSliceIndex(), lDefineConstantInt(), lEmitBinaryPointerArith(), lEmitLoads(), lGetAtomicLLVMType(), lGSToLoadStore(), lLLVMTypeToISPCType(), LLVMBoolVector(), FunctionType::LLVMFunctionType(), LLVMShuffleVectors(), EnumType::LLVMType(), PointerType::LLVMType(), lTypeConvAtomic(), FunctionEmitContext::MatchIntegerTypes(), FunctionEmitContext::MemcpyInst(), IntrinsicsOpt::runOnBasicBlock(), Target::SizeOf(), Target::StructOffset(), and FunctionEmitContext::SwitchInst().
|
static |
Definition at line 93 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
|
static |
Definition at line 86 of file llvmutil.h.
Referenced by FunctionEmitContext::applyVaryingGEP(), FunctionEmitContext::EmitCaseLabel(), ForeachStmt::EmitCode(), FunctionEmitContext::EmitDefaultLabel(), FunctionEmitContext::gather(), InitLLVMUtil(), lCoalesceGathers(), lComputeSliceIndex(), lDefineProgramIndex(), lEmitBinaryPointerArith(), lExtract248Scale(), lGetAtomicLLVMType(), lGetOffsetScaleVec(), lIs32BitSafeHelper(), lLLVMTypeToISPCType(), LLVMBoolVector(), EnumType::LLVMType(), PointerType::LLVMType(), lOffsets32BitSafe(), lTypeConvAtomic(), lUpdateVaryingCounter(), m_SExt16To32(), m_Trunc32To16(), m_ZExt16To32(), FunctionEmitContext::maskedStore(), FunctionEmitContext::MatchIntegerTypes(), and FunctionEmitContext::scatter().
|
static |
Definition at line 75 of file llvmutil.h.
Referenced by InitLLVMUtil(), and lLLVMTypeToISPCType().
|
static |
Definition at line 68 of file llvmutil.h.
Referenced by FunctionEmitContext::applyVaryingGEP(), ForeachActiveStmt::EmitCode(), ForeachUniqueStmt::EmitCode(), NewExpr::GetValue(), InitLLVMUtil(), lApplyLoad2(), FunctionEmitContext::LaunchInst(), lComputeBasePtr(), lComputeSliceIndex(), lEmitLoads(), lGetAtomicLLVMType(), lGSToLoadStore(), lLLVMTypeToISPCType(), LLVMBoolVector(), lTypeConvAtomic(), FunctionEmitContext::MatchIntegerTypes(), FunctionEmitContext::MemcpyInst(), Target::SizeOf(), Target::StructOffset(), and FunctionEmitContext::SwitchInst().
|
static |
Definition at line 94 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
|
static |
Definition at line 87 of file llvmutil.h.
Referenced by FunctionEmitContext::AddElementOffset(), FunctionEmitContext::addVaryingOffsetsIfNeeded(), FunctionEmitContext::applyVaryingGEP(), DeleteStmt::EmitCode(), FunctionEmitContext::gather(), InitLLVMUtil(), lCoalesceGathers(), lComputeSliceIndex(), lGetAtomicLLVMType(), lGetOffsetScaleVec(), lGSBaseOffsetsGetMoreConst(), lLLVMTypeToISPCType(), LLVMBoolVector(), lTypeConvAtomic(), FunctionEmitContext::maskedStore(), FunctionEmitContext::MatchIntegerTypes(), and FunctionEmitContext::scatter().
|
static |
Definition at line 72 of file llvmutil.h.
Referenced by emitLLVMUsed(), InitLLVMUtil(), and lLLVMTypeToISPCType().
|
static |
Definition at line 65 of file llvmutil.h.
Referenced by CBEMangle(), InitLLVMUtil(), lGetAtomicLLVMType(), lGSToLoadStore(), lLLVMTypeToISPCType(), LLVMBoolVector(), LLVMBoolVectorInStorage(), lTypeConvAtomic(), and StructType::StructType().
|
static |
Definition at line 91 of file llvmutil.h.
Referenced by InitLLVMUtil(), lGSToLoadStore(), and lLLVMTypeToISPCType().
|
static |
Definition at line 84 of file llvmutil.h.
Referenced by FunctionEmitContext::gather(), InitLLVMUtil(), lGetAtomicLLVMType(), lLLVMTypeToISPCType(), LLVMBoolVector(), lTypeConvAtomic(), m_SExt8To16(), m_Trunc16To8(), m_ZExt8To16(), FunctionEmitContext::maskedStore(), and FunctionEmitContext::scatter().
|
static |
Definition at line 79 of file llvmutil.h.
Referenced by FunctionEmitContext::CallInst(), Function::emitCode(), ForeachStmt::EmitCode(), FunctionEmitContext::FunctionEmitContext(), SelectExpr::GetValue(), InitLLVMUtil(), lGenericTypeLayoutIndeterminate(), lLLVMTypeToISPCType(), FunctionType::LLVMFunctionType(), FunctionEmitContext::StartForeach(), FunctionEmitContext::StartLoop(), and FunctionEmitContext::StartSwitch().
|
static |
Definition at line 61 of file llvmutil.h.
Referenced by InitLLVMUtil(), lConvertPointerConstant(), and FunctionEmitContext::PtrToIntInst().
|
static |
Definition at line 60 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().
|
static |
Definition at line 98 of file llvmutil.h.
Referenced by NewExpr::GetValue(), InitLLVMUtil(), lLLVMConstantValue(), PointerType::LLVMType(), and FunctionEmitContext::SmearUniform().
|
static |
Definition at line 59 of file llvmutil.h.
Referenced by FunctionEmitContext::CallInst(), FunctionEmitContext::FunctionEmitContext(), InitLLVMUtil(), lLLVMTypeToISPCType(), and FunctionEmitContext::MemcpyInst().