/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVModule.h | 123 virtual SourceLanguage getSourceLanguage(SPIRVWord *) const = 0; 137 virtual SPIRVWord getSPIRVVersion() const = 0; 143 virtual void setAlignment(SPIRVValue *, SPIRVWord) = 0; 146 virtual void setSourceLanguage(SourceLanguage, SPIRVWord) = 0; 153 virtual void setSPIRVVersion(SPIRVWord) = 0; 155 void setMinSPIRVVersion(SPIRVWord Ver) { in setMinSPIRVVersion() 166 SPIRVWord MemberNumber, const std::string &Name) = 0; 169 virtual SPIRVLine *addLine(SPIRVEntry *E, SPIRVString *FileName, SPIRVWord Line, 170 SPIRVWord Column) = 0; 208 virtual SPIRVTypeVector *addVectorType(SPIRVType *, SPIRVWord) = 0; [all …]
|
D | SPIRVDecorate.h | 55 SPIRVDecorateGeneric(Op OC, SPIRVWord WC, Decoration TheDec, 58 SPIRVDecorateGeneric(Op OC, SPIRVWord WC, Decoration TheDec, 59 SPIRVEntry *TheTarget, SPIRVWord V); 63 SPIRVWord getLiteral(size_t) const; 86 SPIRVWord getRequiredSPIRVVersion() const override { in getRequiredSPIRVVersion() 104 std::vector<SPIRVWord> Literals; 130 static const SPIRVWord FixedWC = 3; 135 SPIRVDecorate(Decoration TheDec, SPIRVEntry *TheTarget, SPIRVWord V) in SPIRVDecorate() 141 void setWordCount(SPIRVWord); 171 const std::vector<SPIRVWord>& Literals) { in encodeLiterals() [all …]
|
D | SPIRVValue.h | 94 bool hasAlignment(SPIRVWord *Result=0)const; 96 void setAlignment(SPIRVWord); 172 void setWordCount(SPIRVWord WordCount) { in setWordCount() 187 SPIRVWord Words[2]; 293 void setWordCount(SPIRVWord WordCount) { in setWordCount() 304 const static SPIRVWord WC = 6; 307 SPIRVWord TheAddrMode, SPIRVWord TheNormalized, SPIRVWord TheFilterMode) in SPIRVConstantSampler() 316 SPIRVWord getAddrMode() const { in getAddrMode() 320 SPIRVWord getFilterMode() const { in getFilterMode() 324 SPIRVWord getNormalized() const { in getNormalized() [all …]
|
D | SPIRVInstruction.h | 78 SPIRVComponentMemorySemanticsMask(SPIRVWord TheSema = SPIRVWORD_MAX): 80 SPIRVWord MemSema; 148 SPIRVWord V; 198 SPIRVId TheId, const std::vector<SPIRVWord> &TheOps, SPIRVBasicBlock *TheBB, in create() 225 virtual void initImpl(Op OC, bool HasId = true, SPIRVWord WC = 0, 249 SPIRVWord getExpectedNumOperands() const { in getExpectedNumOperands() 258 virtual void setOpWordsAndValidate(const std::vector<SPIRVWord> &TheOps) { in setOpWordsAndValidate() 262 virtual void setOpWords(const std::vector<SPIRVWord> &TheOps) { in setOpWords() 263 SPIRVWord WC = TheOps.size() + 1; in setOpWords() 279 virtual void setWordCount(SPIRVWord TheWordCount) { in setWordCount() [all …]
|
D | SPIRVType.h | 76 SPIRVWord getStructMemberCount() const; 77 SPIRVWord getVectorComponentCount() const; 256 SPIRVWord TheCompCount) in SPIRVTypeVector() 266 SPIRVWord getComponentCount() const { return CompCount;} in getComponentCount() 267 bool isValidIndex(SPIRVWord Index) const { return Index < CompCount;} in isValidIndex() 289 SPIRVWord CompCount; // Component Count 342 SPIRVWord Depth; 343 SPIRVWord Arrayed; 344 SPIRVWord MS; 345 SPIRVWord Sampled; [all …]
|
D | SPIRVEntry.h | 75 SPIRVWord getRequiredSPIRVVersion() const override { return Version; } 253 SPIRVWord *Result=0)const; 254 std::set<SPIRVWord> getDecorate(Decoration Kind, size_t Index = 0)const; 277 void addDecorate(Decoration Kind, SPIRVWord Literal); 280 void addMemberDecorate(SPIRVWord MemberNumber, Decoration Kind); 281 void addMemberDecorate(SPIRVWord MemberNumber, Decoration Kind, 282 SPIRVWord Literal); 283 void eraseMemberDecorate(SPIRVWord MemberNumber, Decoration Kind); 299 virtual void setWordCount(SPIRVWord TheWordCount); 329 void validateFunctionControlMask(SPIRVWord FCtlMask)const; [all …]
|
D | SPIRVModule.cpp | 122 SourceLanguage getSourceLanguage(SPIRVWord * Ver = nullptr) const { in getSourceLanguage() 131 SPIRVWord getSPIRVVersion() const { return SPIRVVersion; } in getSPIRVVersion() 138 void setAlignment(SPIRVValue *, SPIRVWord); 145 void setSourceLanguage(SourceLanguage Lang, SPIRVWord Ver) { in setSourceLanguage() 153 void setSPIRVVersion(SPIRVWord Ver) override { SPIRVVersion = Ver; } in setSPIRVVersion() 161 SPIRVWord MemberNumber, const std::string &Name); 164 virtual SPIRVLine *addLine(SPIRVEntry *E, SPIRVString *FileName, SPIRVWord Line, 165 SPIRVWord Column); 204 virtual SPIRVTypeVector *addVectorType(SPIRVType *, SPIRVWord); 225 virtual SPIRVValue *addSamplerConstant(SPIRVType *TheType, SPIRVWord AddrMode, [all …]
|
D | SPIRVIsValidEnum.h | 894 isValidImageOperandsMask(SPIRVWord Mask) { in isValidImageOperandsMask() 895 SPIRVWord ValidMask = 0u; in isValidImageOperandsMask() 909 isValidFPFastMathModeMask(SPIRVWord Mask) { in isValidFPFastMathModeMask() 910 SPIRVWord ValidMask = 0u; in isValidFPFastMathModeMask() 921 isValidSelectionControlMask(SPIRVWord Mask) { in isValidSelectionControlMask() 922 SPIRVWord ValidMask = 0u; in isValidSelectionControlMask() 930 isValidLoopControlMask(SPIRVWord Mask) { in isValidLoopControlMask() 931 SPIRVWord ValidMask = 0u; in isValidLoopControlMask() 941 isValidFunctionControlMask(SPIRVWord Mask) { in isValidFunctionControlMask() 942 SPIRVWord ValidMask = 0u; in isValidFunctionControlMask() [all …]
|
D | SPIRVEntry.cpp | 146 SPIRVEntry::setWordCount(SPIRVWord TheWordCount){ in setWordCount() 237 SPIRVEntry::validateFunctionControlMask(SPIRVWord TheFCtlMask) in validateFunctionControlMask() 250 SPIRVEntry::validateBuiltin(SPIRVWord TheSet, SPIRVWord Index)const { in validateBuiltin() 270 SPIRVEntry::addDecorate(Decoration Kind, SPIRVWord Literal) { in addDecorate() 311 SPIRVEntry::addMemberDecorate(SPIRVWord MemberNumber, Decoration Kind) { in addMemberDecorate() 316 SPIRVEntry::addMemberDecorate(SPIRVWord MemberNumber, Decoration Kind, in addMemberDecorate() 317 SPIRVWord Literal) { in addMemberDecorate() 322 SPIRVEntry::eraseMemberDecorate(SPIRVWord MemberNumber, Decoration Dec){ in eraseMemberDecorate() 345 SPIRVEntry::hasDecorate(Decoration Kind, size_t Index, SPIRVWord *Result)const { in hasDecorate() 355 std::set<SPIRVWord> [all …]
|
D | SPIRVDecorate.cpp | 54 SPIRVDecorateGeneric::SPIRVDecorateGeneric(Op OC, SPIRVWord WC, in SPIRVDecorateGeneric() 64 SPIRVDecorateGeneric::SPIRVDecorateGeneric(Op OC, SPIRVWord WC, in SPIRVDecorateGeneric() 67 SPIRVWord V) in SPIRVDecorateGeneric() 85 SPIRVWord 107 SPIRVDecorate::setWordCount(SPIRVWord Count){ in setWordCount() 129 SPIRVMemberDecorate::setWordCount(SPIRVWord Count){ in setWordCount()
|
D | SPIRVType.cpp | 62 SPIRVWord 71 SPIRVWord 77 SPIRVWord 110 SPIRVWord 116 SPIRVWord
|
D | SPIRVValue.cpp | 47 SPIRVValue::setAlignment(SPIRVWord A) { in setAlignment() 57 SPIRVValue::hasAlignment(SPIRVWord *Result)const { in hasAlignment()
|
D | SPIRVFunction.h | 99 SPIRVWord getFuncCtlMask() const { return FCtrlMask;} 116 void setFunctionControlMask(SPIRVWord Mask) { 157 SPIRVWord FCtrlMask; // Function control mask
|
D | SPIRVInstruction.cpp | 97 const std::vector<SPIRVWord> &TheArgs, SPIRVBasicBlock *BB) in SPIRVFunctionCall() 139 static SPIRVWord Table[] = in isSpecConstantOpAllowedOp() 200 static std::unordered_set<SPIRVWord> in isSpecConstantOpAllowedOp()
|
D | SPIRVExtInst.h | 257 isReadImage(SPIRVWord EntryPoint) { in SPIRV_DEF_NAMEMAP() 263 isWriteImage(SPIRVWord EntryPoint) { in isWriteImage() 269 isReadOrWriteImage(SPIRVWord EntryPoint) { in isReadOrWriteImage()
|
D | SPIRVStream.cpp | 125 return O << static_cast<SPIRVWord>(V); in encode() 213 SPIRVWord WordCountAndOpCode; in getWordCountAndOpCode()
|
D | SPIRVEnum.h | 50 typedef uint32_t SPIRVWord; typedef 59 inline SPIRVWord 66 enum SPIRVVersion : SPIRVWord {
|
D | SPIRVStream.h | 82 SPIRVWord WordCount;
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVWriter.cpp | 119 std::function<void(std::vector<SPIRVWord>&)> PostProc; 121 PostProc = [](std::vector<SPIRVWord>&){}; in OCLBuiltinSPIRVTransInfo() argument 196 std::vector<SPIRVWord> transArguments(CallInst *, SPIRVBasicBlock *, 203 SPIRVWord transFunctionControlMask(CallInst *); 204 SPIRVWord transFunctionControlMask(Function *); 229 SPIRVWord SrcLang; 230 SPIRVWord SrcLangVer; 272 std::vector<SPIRVWord> transValue(const std::vector<Value *> &Values, 282 const std::string& DemangledName, SPIRVWord* EntryPoint); 289 SPIRVWord *EntryPoint = nullptr, [all …]
|
D | SPIRVReader.cpp | 126 const std::vector<SPIRVWord>& IntVals) { in getMDNodeStringIntVec() 321 std::vector<SPIRVWord> &BArgs); 506 CallInst *transOCLBarrier(BasicBlock *BB, SPIRVWord ExecScope, 507 SPIRVWord MemSema, SPIRVWord MemScope); 510 SPIRVWord MemSema, SPIRVWord MemScope); 1001 SPIRVWord SrcLangVer = 0; in postProcessOCL() 1626 [&](SPIRVWord Literal, SPIRVBasicBlock *Label, size_t Index) { in transValueWithoutDecoration() 1715 if (I == static_cast<SPIRVWord>(-1)) in transValueWithoutDecoration() 1815 SPIRVWord FCM = Source->getFuncCtlMask(); in foreachFuncCtlMask() 1858 SPIRVWord MaxOffset = 0; in transFunction() [all …]
|
D | OCL20ToSPIRV.cpp | 282 SPIRVWord getVecLoadWidth(const std::string& DemangledName) { in getVecLoadWidth() 283 SPIRVWord Width = 0; in getVecLoadWidth() 1321 SPIRVWord Width = getVecLoadWidth(DemangledName); in visitCallVecLoadStore()
|