Intel SPMD Program Compiler  1.9.1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
ispc.h File Reference

Main ispc.header file. Defines Target, Globals and Opt classes. More...

#include "ispc_version.h"
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <set>
#include <string>
Include dependency graph for ispc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SourcePos
 Representation of a range of positions in a source file. More...
 
class  Target
 Structure that defines a compilation target. More...
 
struct  Opt
 Structure that collects optimization options. More...
 
struct  Globals
 This structure collects together a number of global variables. More...
 

Namespaces

 llvm
 

Macros

#define ISPC_MAX_NVEC   64
 
#define LAST_OPT_NUMBER   1000
 
#define Assert(expr)    ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0)))
 
#define AssertPos(pos, expr)    ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0)))
 

Enumerations

enum  StorageClass {
  SC_NONE, SC_EXTERN, SC_STATIC, SC_TYPEDEF,
  SC_EXTERN_C
}
 
enum  {
  COST_ASSIGN = 1, COST_COMPLEX_ARITH_OP = 4, COST_DELETE = 32, COST_DEREF = 4,
  COST_FUNCALL = 4, COST_FUNPTR_UNIFORM = 12, COST_FUNPTR_VARYING = 24, COST_GATHER = 8,
  COST_GOTO = 4, COST_LOAD = 2, COST_NEW = 32, COST_BREAK_CONTINUE = 3,
  COST_RETURN = 4, COST_SELECT = 4, COST_SIMPLE_ARITH_LOGIC_OP = 1, COST_SYNC = 32,
  COST_TASK_LAUNCH = 32, COST_TYPECAST_COMPLEX = 4, COST_TYPECAST_SIMPLE = 1, COST_UNIFORM_IF = 2,
  COST_VARYING_IF = 3, COST_UNIFORM_LOOP = 4, COST_VARYING_LOOP = 6, COST_UNIFORM_SWITCH = 4,
  COST_VARYING_SWITCH = 12, COST_ASSERT = 8, CHECK_MASK_AT_FUNCTION_START_COST = 16, PREDICATE_SAFE_IF_STATEMENT_COST = 6
}
 

Functions

SourcePos Union (const SourcePos &p1, const SourcePos &p2)
 
void DoAssert (const char *file, int line, const char *expr)
 
void DoAssertPos (SourcePos pos, const char *file, int line, const char *expr)
 

Variables

Globalsg
 
Modulem
 

Detailed Description

Main ispc.header file. Defines Target, Globals and Opt classes.

Definition in file ispc.h.

Macro Definition Documentation

#define Assert (   expr)    ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0)))

Definition at line 170 of file ispc.h.

Referenced by AddBitcodeToModule(), SymbolTable::AddFunction(), Module::AddFunctionDeclaration(), Module::AddFunctionDefinition(), Module::AddGlobalVariable(), SymbolTable::AddVariable(), ArrayType::ArrayType(), AllCPUs::BackwardCompatible(), FunctionEmitContext::BroadcastValue(), CFInfo::CFInfo(), Module::CompileAndOutput(), MemberExpr::create(), Declaration::DeclareFunctions(), DefineStdlib(), Function::emitCode(), ForeachActiveStmt::EmitCode(), ForeachUniqueStmt::EmitCode(), Function::Function(), FunctionEmitContext::FunctionEmitContext(), FunctionType::FunctionType(), Function::GenerateIR(), ArrayType::GetAsConstType(), ReferenceType::GetAsConstType(), ArrayType::GetAsNonConstType(), ReferenceType::GetAsNonConstType(), AtomicType::GetAsSOAType(), ArrayType::GetAsSOAType(), AtomicType::GetAsUnboundVariabilityType(), ArrayType::GetAsUnboundVariabilityType(), ReferenceType::GetAsUnboundVariabilityType(), AtomicType::GetAsUniformType(), ArrayType::GetAsUniformType(), ReferenceType::GetAsUniformType(), ArrayType::GetAsUnsignedType(), AtomicType::GetAsVaryingType(), ArrayType::GetAsVaryingType(), ReferenceType::GetAsVaryingType(), ReferenceType::GetBaseType(), AtomicType::GetCDeclaration(), EnumType::GetCDeclaration(), PointerType::GetCDeclaration(), ArrayType::GetCDeclaration(), ReferenceType::GetCDeclaration(), AllCPUs::GetDefaultNameFromType(), SourcePos::GetDIFile(), GetDirectoryAndFileName(), AtomicType::GetDIType(), EnumType::GetDIType(), PointerType::GetDIType(), ArrayType::GetDIType(), StructType::GetDIType(), ReferenceType::GetDIType(), StructType::GetElementType(), FunctionType::GetParameterDefault(), FunctionType::GetParameterName(), FunctionType::GetParameterSourcePos(), FunctionType::GetParameterType(), Function::GetReturnType(), ArrayType::GetSizedArray(), PointerType::GetString(), ArrayType::GetString(), ReferenceType::GetString(), Function::GetType(), IndexExpr::GetValue(), ReferenceType::GetVariability(), Declaration::GetVariableDeclarations(), ReferenceType::IsBoolType(), ReferenceType::IsConstType(), ReferenceType::IsFloatType(), ReferenceType::IsIntType(), ReferenceType::IsUnsignedType(), lAddModuleSymbols(), lAddTypeIfNew(), lAddVaryingOffsetsIfNeeded(), lAllDivBaseEqual(), lApplyLoad1(), lApplyLoad2(), lApplyLoad4(), lArrayToPointer(), lArrayVectorWidth(), lAssemble4Vector(), lAssembleResultVectors(), lCalleeArgCount(), lCheckAllOffSafety(), lCheckAndForLinear(), lCheckModuleIntrinsics(), lCoalesceGathers(), lComputeSliceIndex(), lConstElementsToMask(), lConvertPointerConstant(), lConvertPtrToSliceIfNeeded(), lConvertToSlicePointer(), lCopyInTaskParameter(), lCreateDispatchFunction(), lDefineConstantInt(), lDefineConstantIntFunc(), lDefineProgramIndex(), lEmitDispatchModule(), lEmitEnumDecls(), lEmitVaryingSelect(), lExtract248Scale(), lExtractConstOffsets(), lExtractFirstVectorElement(), lExtractFromInserts(), lExtractOrCheckGlobals(), lFinalSliceOffset(), lGenericTypeLayoutIndeterminate(), lGetBasePtrAndOffsets(), lGetExportedTypes(), lGetIntValue(), lGetMask(), lGetMaskStatus(), lGetMatchingBoolVectorType(), lGetOffsetScaleVec(), lGetOverloadCandidateMessage(), lGetSourcePosFromMetadata(), lGetStringArray(), lGetVaryingDispatchType(), lGSBaseOffsetsGetMoreConst(), lGSToGSBaseOffsets(), lGSToLoadStore(), lImproveMaskedLoad(), lImproveMaskedStore(), lIsExactMultiple(), lIsExported(), lIsExternC(), lLLVMConstantValue(), LLVMBoolVector(), LLVMConcatVectors(), LLVMExtractVectorInts(), LLVMFlattenInsertChain(), FunctionType::LLVMFunctionType(), AtomicType::LLVMType(), EnumType::LLVMType(), PointerType::LLVMType(), ArrayType::LLVMType(), VectorType::LLVMType(), StructType::LLVMType(), UndefinedStructType::LLVMType(), ReferenceType::LLVMType(), LLVMVectorIsLinear(), LLVMVectorValuesAllEqual(), lMangleStruct(), lMatchingBoolType(), lPrintFunctionDeclarations(), lReplacePseudoGS(), lReplacePseudoMaskedStore(), lStoreAssignResult(), lStripUnusedDebugInfo(), lTypeToSuffix(), lUniformValueToVarying(), lValuesAreEqual(), lVectorIsLinearConstantInts(), lVectorShiftRightAllEqual(), lVectorValuesAllEqual(), EnumType::Mangle(), PointerType::Mangle(), ArrayType::Mangle(), ReferenceType::Mangle(), FunctionType::Mangle(), FunctionEmitContext::maskedStore(), Type::MoreGeneralType(), BinaryExpr::Optimize(), SymbolTable::PopScope(), SymbolTable::RandomSymbol(), SymbolTable::RandomType(), AtomicType::ResolveUnboundVariability(), PointerType::ResolveUnboundVariability(), ArrayType::ResolveUnboundVariability(), StructType::ResolveUnboundVariability(), ReferenceType::ResolveUnboundVariability(), FunctionType::ResolveUnboundVariability(), IntrinsicsOpt::runOnBasicBlock(), GatherCoalescePass::runOnBasicBlock(), ArrayType::SizeUnsizedArrays(), Target::StructOffset(), StructType::StructType(), Target::Target(), SwitchStmt::TypeCheck(), UndefinedStructType::UndefinedStructType(), VectorType::VectorType(), WalkAST(), Module::writeDevStub(), Module::writeHostStub(), Module::writeOutput(), and SymbolTable::~SymbolTable().

#define AssertPos (   pos,
  expr 
)    ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0)))

Definition at line 173 of file ispc.h.

Referenced by FunctionEmitContext::AddElementOffset(), FunctionEmitContext::AddInstrumentationPoint(), FunctionEmitContext::addSwitchMaskCheck(), FunctionEmitContext::addVaryingOffsetsIfNeeded(), FunctionEmitContext::All(), FunctionEmitContext::AllocaInst(), FunctionEmitContext::Any(), FunctionEmitContext::applyVaryingGEP(), FunctionEmitContext::BinaryOperator(), FunctionEmitContext::BitCastInst(), FunctionEmitContext::BranchIfMaskAll(), FunctionEmitContext::BranchIfMaskAny(), FunctionEmitContext::BranchIfMaskNone(), FunctionEmitContext::BranchInst(), FunctionEmitContext::Break(), FunctionEmitContext::BroadcastValue(), FunctionEmitContext::CallInst(), FunctionEmitContext::CastInst(), FunctionEmitContext::CmpInst(), ConstExpr::ConstExpr(), FunctionEmitContext::Continue(), FunctionEmitContext::EmitCaseLabel(), DeclStmt::EmitCode(), DoStmt::EmitCode(), ForStmt::EmitCode(), ForeachStmt::EmitCode(), SwitchStmt::EmitCode(), LabeledStmt::EmitCode(), PrintStmt::EmitCode(), AssertStmt::EmitCode(), DeleteStmt::EmitCode(), FunctionEmitContext::EmitDefaultLabel(), FunctionEmitContext::EmitFunctionParameterDebugInfo(), IfStmt::emitMaskAllOn(), IfStmt::emitMaskedTrueAndFalse(), IfStmt::emitMaskMixed(), FunctionEmitContext::EmitVariableDebugInfo(), IfStmt::emitVaryingIf(), FunctionEmitContext::EndForeach(), FunctionEmitContext::EndIf(), FunctionEmitContext::EndLoop(), FunctionEmitContext::EndScope(), FunctionEmitContext::EndSwitch(), PtrDerefExpr::EstimateCost(), FunctionEmitContext::ExtractInst(), FunctionEmitContext::FPCastInst(), FunctionEmitContext::FunctionEmitContext(), FunctionEmitContext::gather(), ConstExpr::getBasicType(), FunctionSymbolExpr::getCandidateFunctions(), ExprList::GetConstant(), ConstExpr::GetConstant(), AddressOfExpr::GetConstant(), NullPointerExpr::GetConstant(), FunctionEmitContext::GetDIScope(), FunctionEmitContext::GetElementPtrInst(), IndexExpr::GetLValue(), MemberExpr::GetLValue(), IndexExpr::GetLValueType(), TypeCastExpr::GetLValueType(), StructMemberExpr::GetLValueType(), VectorMemberExpr::GetLValueType(), FunctionEmitContext::getMaskAtSwitchEntry(), StructMemberExpr::getStructType(), BinaryExpr::GetType(), SelectExpr::GetType(), IndexExpr::GetType(), TypeCastExpr::GetType(), PtrDerefExpr::GetType(), RefDerefExpr::GetType(), AddressOfExpr::GetType(), StructMemberExpr::GetType(), BinaryExpr::GetValue(), AssignExpr::GetValue(), SelectExpr::GetValue(), FunctionCallExpr::GetValue(), IndexExpr::GetValue(), MemberExpr::GetValue(), TypeCastExpr::GetValue(), ReferenceExpr::GetValue(), NewExpr::GetValue(), VectorMemberExpr::GetValue(), FunctionEmitContext::I1VecToBoolVec(), FunctionEmitContext::ifsInCFAllUniform(), Declarator::InitFromDeclSpecs(), Declarator::InitFromType(), InitSymbol(), FunctionEmitContext::InsertInst(), FunctionEmitContext::IntToPtrInst(), FunctionEmitContext::LaneMask(), lArrayToPointer(), FunctionEmitContext::LaunchInst(), lDoTypeConv(), lEmitBinaryArith(), lEmitBinaryPointerArith(), lEmitLogicalOp(), lEmitNegate(), FunctionEmitContext::LoadInst(), lVaryingStructHasUniformMember(), FunctionEmitContext::maskedStore(), FunctionEmitContext::MemcpyInst(), FunctionEmitContext::None(), FunctionEmitContext::NotOperator(), UnaryExpr::Optimize(), BinaryExpr::Optimize(), SelectExpr::Optimize(), SymbolExpr::Optimize(), FunctionEmitContext::popCFState(), FunctionEmitContext::PtrToIntInst(), FunctionSymbolExpr::ResolveOverloads(), FunctionEmitContext::ReturnInst(), FunctionEmitContext::scatter(), FunctionEmitContext::SelectInst(), FunctionEmitContext::SExtInst(), FunctionEmitContext::ShuffleInst(), FunctionEmitContext::SmearUniform(), FunctionEmitContext::StartScope(), FunctionEmitContext::StoreInst(), FunctionEmitContext::storeUniformToSOA(), FunctionEmitContext::SwitchInst(), FunctionEmitContext::TruncInst(), BinaryExpr::TypeCheck(), AssignExpr::TypeCheck(), FunctionCallExpr::TypeCheck(), IndexExpr::TypeCheck(), PtrDerefExpr::TypeCheck(), RefDerefExpr::TypeCheck(), AddressOfExpr::TypeCheck(), NewExpr::TypeCheck(), VectorMemberExpr::VectorMemberExpr(), FunctionEmitContext::ZExtInst(), and FunctionEmitContext::~FunctionEmitContext().

#define ISPC_MAX_NVEC   64
#define LAST_OPT_NUMBER   1000

Definition at line 71 of file ispc.h.

Referenced by Optimize(), and ParsingPhaseName().

Enumeration Type Documentation

anonymous enum
Enumerator
COST_ASSIGN 
COST_COMPLEX_ARITH_OP 
COST_DELETE 
COST_DEREF 
COST_FUNCALL 
COST_FUNPTR_UNIFORM 
COST_FUNPTR_VARYING 
COST_GATHER 
COST_GOTO 
COST_LOAD 
COST_NEW 
COST_BREAK_CONTINUE 
COST_RETURN 
COST_SELECT 
COST_SIMPLE_ARITH_LOGIC_OP 
COST_SYNC 
COST_TASK_LAUNCH 
COST_TYPECAST_COMPLEX 
COST_TYPECAST_SIMPLE 
COST_UNIFORM_IF 
COST_VARYING_IF 
COST_UNIFORM_LOOP 
COST_VARYING_LOOP 
COST_UNIFORM_SWITCH 
COST_VARYING_SWITCH 
COST_ASSERT 
CHECK_MASK_AT_FUNCTION_START_COST 
PREDICATE_SAFE_IF_STATEMENT_COST 

Definition at line 654 of file ispc.h.

Enumerator
SC_NONE 
SC_EXTERN 
SC_STATIC 
SC_TYPEDEF 
SC_EXTERN_C 

Definition at line 118 of file ispc.h.

Function Documentation

void DoAssert ( const char *  file,
int  line,
const char *  expr 
)

Definition at line 463 of file util.cpp.

References lPrintBugText().

void DoAssertPos ( SourcePos  pos,
const char *  file,
int  line,
const char *  expr 
)

Definition at line 471 of file util.cpp.

References Error(), and lPrintBugText().

SourcePos Union ( const SourcePos p1,
const SourcePos p2 
)

Returns a SourcePos that encompasses the extent of both of the given extents.

Definition at line 1605 of file ispc.cpp.

References SourcePos::first_column, SourcePos::first_line, SourcePos::last_column, SourcePos::last_line, and SourcePos::name.

Referenced by SelectExpr::GetType(), ArrayType::SizeUnsizedArrays(), BinaryExpr::TypeCheck(), and SelectExpr::TypeCheck().

Variable Documentation

Globals* g

Definition at line 88 of file ispc.cpp.

Referenced by DebugPassManager::add(), AddBitcodeToModule(), FunctionEmitContext::AddElementOffset(), Module::AddFunctionDeclaration(), Module::AddGlobalVariable(), FunctionEmitContext::addGSMetadata(), FunctionEmitContext::AddInstrumentationPoint(), FunctionEmitContext::addVaryingOffsetsIfNeeded(), FunctionEmitContext::All(), FunctionEmitContext::AllocaInst(), FunctionEmitContext::Any(), FunctionEmitContext::applyVaryingGEP(), FunctionEmitContext::BroadcastValue(), FunctionEmitContext::CallInst(), Module::CompileAndOutput(), Module::CompileFile(), ConstExpr::Count(), FunctionEmitContext::CreateBasicBlock(), Debug(), DefineStdlib(), Function::emitCode(), DeclStmt::EmitCode(), IfStmt::EmitCode(), DoStmt::EmitCode(), ForStmt::EmitCode(), ForeachStmt::EmitCode(), ForeachActiveStmt::EmitCode(), ForeachUniqueStmt::EmitCode(), PrintStmt::EmitCode(), DeleteStmt::EmitCode(), IfStmt::emitMaskAllOn(), IfStmt::emitVaryingIf(), Error(), DoStmt::EstimateCost(), ForStmt::EstimateCost(), Module::execPreprocessor(), Function::Function(), FunctionEmitContext::FunctionEmitContext(), FunctionEmitContext::gather(), Function::GenerateIR(), DeclSpecs::GetBaseType(), EnumType::GetCDeclaration(), PointerType::GetCDeclaration(), ArrayType::GetCDeclaration(), ExprList::GetConstant(), ConstExpr::GetConstant(), NullPointerExpr::GetConstant(), GetDirectoryAndFileName(), AtomicType::GetDIType(), EnumType::GetDIType(), PointerType::GetDIType(), VectorType::GetDIType(), FunctionEmitContext::GetStringPtr(), BinaryExpr::GetType(), SizeOfExpr::GetType(), SelectExpr::GetValue(), IndexExpr::GetValue(), MemberExpr::GetValue(), TypeCastExpr::GetValue(), ReferenceExpr::GetValue(), SizeOfExpr::GetValue(), NewExpr::GetValue(), VectorMemberExpr::GetValue(), VectorType::getVectorMemoryCount(), FunctionEmitContext::I1VecToBoolVec(), InitLLVMUtil(), InitSymbol(), FunctionEmitContext::LaneMask(), lArrayVectorWidth(), lAssembleResultVectors(), FunctionEmitContext::LaunchInst(), lCheckModuleIntrinsics(), lConvert(), lConvertPointerConstant(), lConvertToSlicePointer(), lCreateDispatchFunction(), lCreateISPCSymbol(), lDeclareSizeAndPtrIntTypes(), lDefineConstantInt(), lDefineConstantIntFunc(), lDefineProgramIndex(), lEmitBinaryPointerArith(), lEmitLoads(), lEmitLogicalOp(), lEmitNegate(), lEmitPrePostIncDec(), lEmitStructDecl(), lEmitVaryingSelect(), lEmitVectorTypedefs(), lExtractConstOffsets(), lFinalSliceOffset(), lGetBasePointer(), lGetBasePtrAndOffsets(), lGetExportedFunctions(), lGetMask(), lGetMaskStatus(), lGetMatchingBoolVectorType(), lGetOffsetScaleVec(), lGetStringAsValue(), lGetVaryingDispatchType(), lGSBaseOffsetsGetMoreConst(), lGSToGSBaseOffsets(), lGSToLoadStore(), lHaveANSIColors(), lImproveMaskedLoad(), lImproveMaskedStore(), lInitDispatchModule(), lIsExactMultiple(), lIsSafeToBlend(), LLVMBoolVector(), LLVMDouble(), LLVMDoubleVector(), LLVMFloat(), LLVMFloatVector(), FunctionType::LLVMFunctionType(), LLVMInt16(), LLVMInt16Vector(), LLVMInt32(), LLVMInt32Vector(), LLVMInt64(), LLVMInt64Vector(), LLVMInt8(), LLVMInt8Vector(), PointerType::LLVMType(), LLVMUInt16(), LLVMUInt16Vector(), LLVMUInt32(), LLVMUInt32Vector(), LLVMUInt64(), LLVMUInt64Vector(), LLVMUInt8(), LLVMUInt8Vector(), LLVMVectorIsLinear(), LLVMVectorValuesAllEqual(), lMangleStructName(), FunctionEmitContext::LoadInst(), FunctionEmitContext::loadUniformFromSOA(), lParseInclude(), lProcessPrintArg(), lReplacePseudoGS(), lReplacePseudoMaskedStore(), lSetInternalFunctions(), lStoreAssignResult(), lStripUnusedDebugInfo(), lTypeConvAtomic(), lUniformValueToVarying(), lUpdateVaryingCounter(), main(), FunctionEmitContext::MakeSlicePointer(), FunctionEmitContext::maskedStore(), FunctionEmitContext::MasksAllEqual(), Module::Module(), FunctionEmitContext::None(), BinaryExpr::Optimize(), Optimize(), PerformanceWarning(), FunctionEmitContext::ProgramIndexVector(), FunctionEmitContext::ReturnInst(), IntrinsicsOpt::runOnBasicBlock(), GatherCoalescePass::runOnBasicBlock(), IsCompileTimeConstantPass::runOnBasicBlock(), ReplaceStdlibShiftPass::runOnBasicBlock(), FixBooleanSelectPass::runOnFunction(), FunctionEmitContext::scatter(), FunctionEmitContext::SmearUniform(), FunctionEmitContext::StoreInst(), StructType::StructType(), FunctionEmitContext::SyncInst(), TerminalWidth(), IfStmt::TypeCheck(), BinaryExpr::TypeCheck(), DoStmt::TypeCheck(), ForStmt::TypeCheck(), AssignExpr::TypeCheck(), IndexExpr::TypeCheck(), TypeCastExpr::TypeCheck(), SizeOfExpr::TypeCheck(), NewExpr::TypeCheck(), UndefinedStructType::UndefinedStructType(), Warning(), Module::writeBitcode(), Module::writeDispatchHeader(), Module::writeHeader(), Module::writeObjectFileOrAssembly(), and Module::writeOutput().

Module* m

Definition at line 89 of file ispc.cpp.

Referenced by AddBitcodeToModule(), FunctionEmitContext::AddDebugPos(), FunctionEmitContext::AddElementOffset(), Module::AddFunctionDeclaration(), Module::AddFunctionDefinition(), FunctionEmitContext::AddInstrumentationPoint(), FunctionEmitContext::All(), FunctionEmitContext::AllocaInst(), FunctionEmitContext::Any(), FunctionEmitContext::BinaryOperator(), FunctionEmitContext::BitCastInst(), FunctionEmitContext::BranchInst(), FunctionEmitContext::BroadcastValue(), FunctionEmitContext::CallInst(), FunctionEmitContext::CastInst(), FunctionEmitContext::CmpInst(), Module::CompileAndOutput(), Declaration::DeclareFunctions(), DeclSpecs::DeclSpecs(), Function::emitCode(), DeclStmt::EmitCode(), ForeachActiveStmt::EmitCode(), ForeachUniqueStmt::EmitCode(), SwitchStmt::EmitCode(), PrintStmt::EmitCode(), AssertStmt::EmitCode(), DeleteStmt::EmitCode(), FunctionEmitContext::EmitFunctionParameterDebugInfo(), FunctionEmitContext::EmitVariableDebugInfo(), FunctionEmitContext::EndScope(), Error(), PtrDerefExpr::EstimateCost(), FunctionEmitContext::ExtractInst(), ForeachUniqueStmt::ForeachUniqueStmt(), FunctionEmitContext::FPCastInst(), Function::Function(), FunctionEmitContext::FunctionEmitContext(), FunctionEmitContext::gather(), Function::GenerateIR(), ArrayType::GetAsConstType(), ReferenceType::GetAsConstType(), ArrayType::GetAsNonConstType(), ReferenceType::GetAsNonConstType(), ArrayType::GetAsSOAType(), ArrayType::GetAsUnboundVariabilityType(), ReferenceType::GetAsUnboundVariabilityType(), ArrayType::GetAsUniformType(), ReferenceType::GetAsUniformType(), ArrayType::GetAsUnsignedType(), ArrayType::GetAsVaryingType(), ReferenceType::GetAsVaryingType(), ReferenceType::GetBaseType(), AtomicType::GetCDeclaration(), EnumType::GetCDeclaration(), PointerType::GetCDeclaration(), ArrayType::GetCDeclaration(), ReferenceType::GetCDeclaration(), ExprList::GetConstant(), ConstExpr::GetConstant(), AddressOfExpr::GetConstant(), NullPointerExpr::GetConstant(), AtomicType::GetDIType(), EnumType::GetDIType(), PointerType::GetDIType(), ArrayType::GetDIType(), VectorType::GetDIType(), StructType::GetDIType(), UndefinedStructType::GetDIType(), ReferenceType::GetDIType(), FunctionType::GetDIType(), FunctionEmitContext::GetElementPtrInst(), StructType::GetElementType(), IndexExpr::GetLValue(), MemberExpr::GetLValue(), StructMemberExpr::GetLValueType(), VectorMemberExpr::GetLValueType(), PointerType::GetString(), ArrayType::GetString(), ReferenceType::GetString(), FunctionEmitContext::GetStringPtr(), PtrDerefExpr::GetType(), RefDerefExpr::GetType(), AddressOfExpr::GetType(), StructMemberExpr::GetType(), BinaryExpr::GetValue(), AssignExpr::GetValue(), FunctionCallExpr::GetValue(), IndexExpr::GetValue(), MemberExpr::GetValue(), TypeCastExpr::GetValue(), ReferenceExpr::GetValue(), NewExpr::GetValue(), VectorMemberExpr::GetValue(), ReferenceType::GetVariability(), Declaration::GetVariableDeclarations(), FunctionEmitContext::I1VecToBoolVec(), Declarator::InitFromDeclSpecs(), Declarator::InitFromType(), InitSymbol(), FunctionEmitContext::InsertInst(), FunctionEmitContext::IntToPtrInst(), ReferenceType::IsBoolType(), ReferenceType::IsConstType(), ReferenceType::IsFloatType(), ReferenceType::IsIntType(), ReferenceType::IsUnsignedType(), FunctionEmitContext::LaneMask(), FunctionEmitContext::LaunchInst(), lCreateBinaryOperatorCall(), lCreateDIArray(), lDefineConstantInt(), lDefineProgramIndex(), lEmitLogicalOp(), lExtractOrCheckGlobals(), lGetStringAsValue(), lGSBaseOffsetsGetMoreConst(), lGSToGSBaseOffsets(), lGSToLoadStore(), lImproveMaskedLoad(), lImproveMaskedStore(), FunctionType::LLVMFunctionType(), PointerType::LLVMType(), ArrayType::LLVMType(), VectorType::LLVMType(), StructType::LLVMType(), UndefinedStructType::LLVMType(), ReferenceType::LLVMType(), FunctionEmitContext::LoadInst(), lReplacePseudoGS(), lReplacePseudoMaskedStore(), lStripUnusedDebugInfo(), lUpdateVaryingCounter(), lVaryingStructHasUniformMember(), PointerType::Mangle(), ArrayType::Mangle(), ReferenceType::Mangle(), FunctionType::Mangle(), FunctionEmitContext::maskedStore(), FunctionEmitContext::MemcpyInst(), FunctionEmitContext::None(), FunctionEmitContext::NotOperator(), BinaryExpr::Optimize(), FunctionEmitContext::PtrToIntInst(), PointerType::ResolveUnboundVariability(), ArrayType::ResolveUnboundVariability(), ReferenceType::ResolveUnboundVariability(), FunctionType::ResolveUnboundVariability(), IntrinsicsOpt::runOnBasicBlock(), GatherCoalescePass::runOnBasicBlock(), IsCompileTimeConstantPass::runOnBasicBlock(), ReplaceStdlibShiftPass::runOnBasicBlock(), MakeInternalFuncsStaticPass::runOnModule(), FunctionEmitContext::scatter(), FunctionEmitContext::SelectInst(), FunctionEmitContext::SExtInst(), FunctionEmitContext::ShuffleInst(), InstructionSimplifyPass::simplifyCall(), ArrayType::SizeUnsizedArrays(), FunctionEmitContext::SmearUniform(), FunctionEmitContext::StartScope(), FunctionEmitContext::StoreInst(), StructType::StructType(), FunctionEmitContext::SyncInst(), FunctionEmitContext::TruncInst(), AssignExpr::TypeCheck(), IndexExpr::TypeCheck(), SwitchStmt::TypeCheck(), PtrDerefExpr::TypeCheck(), RefDerefExpr::TypeCheck(), AddressOfExpr::TypeCheck(), NewExpr::TypeCheck(), Warning(), Module::writeDevStub(), Module::writeDispatchHeader(), Module::writeHeader(), Module::writeHostStub(), FunctionEmitContext::ZExtInst(), and FunctionEmitContext::~FunctionEmitContext().