|
Intel SPMD Program Compiler
1.3.0
|
Main ispc.header file. More...
#include <stdint.h>#include <stdlib.h>#include <stdio.h>#include <vector>#include <string>

Go to the source code of this file.
Classes | |
| struct | SourcePos |
| Representation of a range of positions in a source file. More... | |
| struct | 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 | |
| namespace | llvm |
Defines | |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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))) |
| #define | ISPC_VERSION "1.3.0" |
| #define | ISPC_MAX_NVEC 64 |
| #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_COHERENT_BREAK_CONTINE = 4, 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_REGULAR_BREAK_CONTINUE = 2, 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 | |
| Globals * | g |
| Module * | m |
Main ispc.header file.
Definition in file ispc.h.
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
Definition at line 150 of file ispc.h.
Referenced by AddBitcodeToModule(), SymbolTable::AddFunction(), Module::AddFunctionDeclaration(), Module::AddFunctionDefinition(), Module::AddGlobalVariable(), SymbolTable::AddVariable(), ArrayType::ArrayType(), CFInfo::CFInfo(), MemberExpr::create(), Declaration::DeclareFunctions(), ForeachActiveStmt::EmitCode(), ForeachUniqueStmt::EmitCode(), FunctionType::FunctionType(), 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(), 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(), ArrayType::GetSizedArray(), PointerType::GetString(), ArrayType::GetString(), ReferenceType::GetString(), Target::GetTarget(), Target::GetTargetMachine(), ReferenceType::GetVariability(), Declaration::GetVariableDeclarations(), InitLLVMUtil(), IntrinsicsOpt::IntrinsicsOpt(), ReferenceType::IsBoolType(), ReferenceType::IsConstType(), ReferenceType::IsFloatType(), ReferenceType::IsIntType(), ReferenceType::IsUnsignedType(), lAddModuleSymbols(), lAddTypeIfNew(), lAddVaryingOffsetsIfNeeded(), lAllDivBaseEqual(), lApplyLoad1(), lApplyLoad2(), lApplyLoad4(), lArrayToPointer(), lArrayVectorWidth(), lAssemble4Vector(), lAssembleResultVectors(), lCalleeArgCount(), lCheckAndForLinear(), lCheckModuleIntrinsics(), lCoalesceGathers(), lComputeSliceIndex(), lConstElementsToMask(), lConvertPointerConstant(), lConvertPtrToSliceIfNeeded(), lConvertToSlicePointer(), lDefineConstantInt(), lDefineConstantIntFunc(), lDefineProgramIndex(), lEmitEnumDecls(), lEmitStructDecls(), lEmitVaryingSelect(), lExtract248Scale(), lExtractConstOffsets(), lExtractFirstVectorElement(), lExtractFromInserts(), lFinalSliceOffset(), lGenericTypeLayoutIndeterminate(), lGetBasePtrAndOffsets(), lGetExportedTypes(), lGetIntValue(), lGetMask(), lGetMaskStatus(), lGetMatchingBoolVectorType(), lGetSourcePosFromMetadata(), 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(), lUniformValueToVarying(), lValuesAreEqual(), lVectorIsLinearConstantInts(), lVectorShiftRightAllEqual(), lVectorValuesAllEqual(), EnumType::Mangle(), PointerType::Mangle(), ArrayType::Mangle(), ReferenceType::Mangle(), FunctionType::Mangle(), FunctionEmitContext::maskedStore(), Type::MoreGeneralType(), SymbolTable::PopScope(), SymbolTable::RandomSymbol(), SymbolTable::RandomType(), AtomicType::ResolveUnboundVariability(), PointerType::ResolveUnboundVariability(), ArrayType::ResolveUnboundVariability(), StructType::ResolveUnboundVariability(), ReferenceType::ResolveUnboundVariability(), FunctionType::ResolveUnboundVariability(), IntrinsicsOpt::runOnBasicBlock(), GatherCoalescePass::runOnBasicBlock(), Target::SizeOf(), ArrayType::SizeUnsizedArrays(), Target::StructOffset(), StructType::StructType(), SwitchStmt::TypeCheck(), UndefinedStructType::UndefinedStructType(), VectorType::VectorType(), Module::writeDevStub(), Module::writeHostStub(), Module::writeOutput(), and SymbolTable::~SymbolTable().
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #define Assert | ( | expr | ) | ((void)((expr) ? 0 : ((void)DoAssert (__FILE__, __LINE__, #expr), 0))) |
| #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))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
Definition at line 153 of file ispc.h.
Referenced by FunctionEmitContext::AddElementOffset(), FunctionEmitContext::AddInstrumentationPoint(), FunctionEmitContext::addSwitchMaskCheck(), FunctionEmitContext::addVaryingOffsetsIfNeeded(), FunctionEmitContext::AllocaInst(), FunctionEmitContext::applyVaryingGEP(), FunctionEmitContext::BinaryOperator(), FunctionEmitContext::BitCastInst(), FunctionEmitContext::BranchIfMaskAll(), FunctionEmitContext::BranchIfMaskAny(), FunctionEmitContext::BranchIfMaskNone(), FunctionEmitContext::BranchInst(), FunctionEmitContext::Break(), 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(), 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::jumpIfAllLoopLanesAreDone(), FunctionEmitContext::LaneMask(), lArrayToPointer(), FunctionEmitContext::LaunchInst(), lDoTypeConv(), lEmitBinaryArith(), lEmitBinaryPointerArith(), lEmitLogicalOp(), lEmitNegate(), FunctionEmitContext::LoadInst(), lPrintOverloadCandidates(), lVaryingStructHasUniformMember(), FunctionEmitContext::maskedStore(), FunctionEmitContext::MemcpyInst(), 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::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 AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define AssertPos | ( | pos, | |
| expr | |||
| ) | ((void)((expr) ? 0 : ((void)DoAssertPos (pos, __FILE__, __LINE__, #expr), 0))) |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
Definition at line 64 of file ispc.h.
Referenced by ConstExpr::GetConstant(), Target::GetTarget(), lAllDivBaseEqual(), lCheckAndForLinear(), lCheckIndicesVersusBounds(), lConstFoldBinArithOp(), lConstFoldBinIntOp(), lConstFoldBinLogicalOp(), lConstFoldBoolBinOp(), lDefineProgramIndex(), lExtractFirstVectorElement(), lGetBasePointer(), lGetBasePtrAndOffsets(), lIsAllIntZeros(), lIsExactMultiple(), LLVMConcatVectors(), lUpdateVaryingCounter(), lVectorIs32BitInts(), lVectorShiftRightAllEqual(), lVectorValuesAllEqual(), UnaryExpr::Optimize(), BinaryExpr::Optimize(), SelectExpr::Optimize(), and TypeCastExpr::Optimize().
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_MAX_NVEC 64 |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
Definition at line 41 of file ispc.h.
Referenced by lPrintVersion(), and Module::Module().
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| #define ISPC_VERSION "1.3.0" |
| anonymous enum |
| enum StorageClass |
| void DoAssert | ( | const char * | file, |
| int | line, | ||
| const char * | expr | ||
| ) |
Definition at line 455 of file util.cpp.
References lPrintBugText(), and stderr.
| void DoAssertPos | ( | SourcePos | pos, |
| const char * | file, | ||
| int | line, | ||
| const char * | expr | ||
| ) |
Definition at line 463 of file util.cpp.
References Error(), and lPrintBugText().
Returns a SourcePos that encompasses the extent of both of the given extents.
Definition at line 680 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().
Definition at line 65 of file ispc.cpp.
Referenced by AddBitcodeToModule(), FunctionEmitContext::AddElementOffset(), Module::AddFunctionDeclaration(), Module::AddGlobalVariable(), FunctionEmitContext::addGSMetadata(), FunctionEmitContext::AddInstrumentationPoint(), FunctionEmitContext::addVaryingOffsetsIfNeeded(), FunctionEmitContext::All(), FunctionEmitContext::AllocaInst(), FunctionEmitContext::applyVaryingGEP(), FunctionEmitContext::CallInst(), Module::CompileFile(), ConstExpr::Count(), FunctionEmitContext::CreateBasicBlock(), Debug(), DefineStdlib(), DeclStmt::EmitCode(), DoStmt::EmitCode(), ForStmt::EmitCode(), ForeachStmt::EmitCode(), ForeachActiveStmt::EmitCode(), ForeachUniqueStmt::EmitCode(), PrintStmt::EmitCode(), DeleteStmt::EmitCode(), IfStmt::emitMaskAllOn(), IfStmt::emitVaryingIf(), Error(), DoStmt::EstimateCost(), ForStmt::EstimateCost(), FunctionEmitContext::FunctionEmitContext(), FunctionEmitContext::gather(), DeclSpecs::GetBaseType(), 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(), lAddVaryingOffsetsIfNeeded(), FunctionEmitContext::LaneMask(), lArrayVectorWidth(), lAssembleResultVectors(), FunctionEmitContext::LaunchInst(), lCheckModuleIntrinsics(), lConvert(), lConvertPointerConstant(), lConvertToSlicePointer(), lCreateISPCSymbol(), lDeclareSizeAndPtrIntTypes(), lDefineConstantInt(), lDefineConstantIntFunc(), lDefineProgramIndex(), lEmitBinaryPointerArith(), lEmitLogicalOp(), lEmitNegate(), lEmitPrePostIncDec(), lEmitVaryingSelect(), lEmitVectorTypedefs(), lExtractConstOffsets(), lFinalSliceOffset(), lGetBasePointer(), lGetBasePtrAndOffsets(), lGetMask(), lGetMaskStatus(), lGetMatchingBoolVectorType(), lGetStringAsValue(), lGSToGSBaseOffsets(), lGSToLoadStore(), lHaveANSIColors(), 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::loadUniformFromSOA(), lProcessPrintArg(), lReplacePseudoGS(), lReplacePseudoMaskedStore(), lStoreAssignResult(), lStripUnusedDebugInfo(), lTerminalWidth(), lTypeConvAtomic(), lUniformValueToVarying(), lUpdateVaryingCounter(), main(), FunctionEmitContext::MakeSlicePointer(), FunctionEmitContext::maskedStore(), Module::Module(), BinaryExpr::Optimize(), Optimize(), PerformanceWarning(), FunctionEmitContext::ReturnInst(), GatherCoalescePass::runOnBasicBlock(), IsCompileTimeConstantPass::runOnBasicBlock(), FunctionEmitContext::scatter(), FunctionEmitContext::SmearUniform(), FunctionEmitContext::StoreInst(), StructType::StructType(), IfStmt::TypeCheck(), BinaryExpr::TypeCheck(), DoStmt::TypeCheck(), ForStmt::TypeCheck(), AssignExpr::TypeCheck(), IndexExpr::TypeCheck(), TypeCastExpr::TypeCheck(), NewExpr::TypeCheck(), UndefinedStructType::UndefinedStructType(), Warning(), Module::writeHeader(), Module::writeObjectFileOrAssembly(), and Module::writeOutput().
Definition at line 66 of file ispc.cpp.
Referenced by AddBitcodeToModule(), FunctionEmitContext::AddDebugPos(), FunctionEmitContext::AddElementOffset(), Module::AddFunctionDeclaration(), Module::AddFunctionDefinition(), FunctionEmitContext::AddInstrumentationPoint(), FunctionEmitContext::AllocaInst(), FunctionEmitContext::BinaryOperator(), FunctionEmitContext::BitCastInst(), FunctionEmitContext::BranchInst(), FunctionEmitContext::CallInst(), FunctionEmitContext::CastInst(), FunctionEmitContext::CmpInst(), Declaration::DeclareFunctions(), 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(), FunctionEmitContext::FunctionEmitContext(), FunctionEmitContext::gather(), 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(), IntrinsicsOpt::IntrinsicsOpt(), FunctionEmitContext::IntToPtrInst(), ReferenceType::IsBoolType(), ReferenceType::IsConstType(), ReferenceType::IsFloatType(), ReferenceType::IsIntType(), ReferenceType::IsUnsignedType(), FunctionEmitContext::LaneMask(), FunctionEmitContext::LaunchInst(), lCreateDIArray(), lDefineConstantInt(), lDefineProgramIndex(), lEmitLogicalOp(), 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(), lVaryingStructHasUniformMember(), PointerType::Mangle(), ArrayType::Mangle(), ReferenceType::Mangle(), FunctionType::Mangle(), FunctionEmitContext::maskedStore(), FunctionEmitContext::MemcpyInst(), FunctionEmitContext::NotOperator(), BinaryExpr::Optimize(), FunctionEmitContext::PtrToIntInst(), PointerType::ResolveUnboundVariability(), ArrayType::ResolveUnboundVariability(), ReferenceType::ResolveUnboundVariability(), FunctionType::ResolveUnboundVariability(), IntrinsicsOpt::runOnBasicBlock(), VSelMovmskOpt::runOnBasicBlock(), GatherCoalescePass::runOnBasicBlock(), IsCompileTimeConstantPass::runOnBasicBlock(), MakeInternalFuncsStaticPass::runOnModule(), FunctionEmitContext::scatter(), FunctionEmitContext::SelectInst(), FunctionEmitContext::SExtInst(), 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::writeHeader(), Module::writeHostStub(), FunctionEmitContext::ZExtInst(), and FunctionEmitContext::~FunctionEmitContext().
1.7.5.1