/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVEntry.cpp | 61 SPIRVEntry* create() { in create() 65 SPIRVEntry * 66 SPIRVEntry::create(Op OpCode) { in create() 67 typedef SPIRVEntry *(*SPIRVFactoryTy)(); in create() 95 std::unique_ptr<SPIRV::SPIRVEntry> 96 SPIRVEntry::create_unique(Op OC) { in create_unique() 97 return std::unique_ptr<SPIRVEntry>(create(OC)); in create_unique() 101 SPIRVEntry::create_unique(SPIRVExtInstSetKind Set, in create_unique() 107 SPIRVEntry::getErrorLog()const { in getErrorLog() 112 SPIRVEntry::exist(SPIRVId TheId)const { in exist() [all …]
|
D | SPIRVEntry.h | 196 class SPIRVEntry { 205 SPIRVEntry(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode, in SPIRVEntry() function 213 SPIRVEntry(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode) in SPIRVEntry() function 220 SPIRVEntry(Op TheOpCode) in SPIRVEntry() function 224 SPIRVEntry() in SPIRVEntry() function 229 virtual ~SPIRVEntry(){} in ~SPIRVEntry() 234 SPIRVEntry *getEntry(SPIRVId) const; 235 SPIRVEntry *getOrCreate(SPIRVId TheId) const; 290 virtual void setScope(SPIRVEntry *Scope){}; in setScope() 292 void takeDecorates(SPIRVEntry *); [all …]
|
D | SPIRVType.h | 58 class SPIRVType: public SPIRVEntry { 63 :SPIRVEntry(M, TheWordCount, TheOpCode, TheId){} in SPIRVType() 65 SPIRVType(Op TheOpCode):SPIRVEntry(TheOpCode){} in SPIRVType() 155 SPIRVEntry::validate(); in _SPIRV_DEF_ENCDEC3() 187 SPIRVEntry::validate(); in _SPIRV_DEF_ENCDEC2() 221 virtual std::vector<SPIRVEntry*> getNonLiteralOperands() const { in getNonLiteralOperands() 222 return std::vector<SPIRVEntry*>(1, getEntry(ElemTypeId)); in getNonLiteralOperands() 228 SPIRVEntry::validate(); in _SPIRV_DEF_ENCDEC3() 275 virtual std::vector<SPIRVEntry*> getNonLiteralOperands() const { in getNonLiteralOperands() 276 return std::vector<SPIRVEntry*>(1, CompType); in getNonLiteralOperands() [all …]
|
D | SPIRVDecorate.h | 56 SPIRVEntry *TheTarget); 59 SPIRVEntry *TheTarget, SPIRVWord V); 132 SPIRVDecorate(Decoration TheDec, SPIRVEntry *TheTarget) in SPIRVDecorate() 135 SPIRVDecorate(Decoration TheDec, SPIRVEntry *TheTarget, SPIRVWord V) in SPIRVDecorate() 152 SPIRVDecorateLinkageAttr(SPIRVEntry *TheTarget, in SPIRVDecorateLinkageAttr() 203 SPIRVEntry *TheTarget) in SPIRVMemberDecorate() 209 SPIRVEntry *TheTarget, SPIRVWord V) in SPIRVMemberDecorate() 232 class SPIRVDecorationGroup:public SPIRVEntry{ 238 :SPIRVEntry(TheModule, WC, OC, TheId){ in SPIRVDecorationGroup() 242 SPIRVDecorationGroup():SPIRVEntry(OC){} in SPIRVDecorationGroup()
|
D | SPIRVModule.h | 56 class SPIRVEntry; variable 99 virtual bool exist(SPIRVId, SPIRVEntry **)const = 0; 102 virtual SPIRVEntry *getEntry(SPIRVId) const = 0; 128 virtual std::vector<SPIRVId> getIds(const std::vector<SPIRVEntry *>&)const = 0; 145 virtual void setName(SPIRVEntry *, const std::string&) = 0; 161 virtual SPIRVEntry *addEntry(SPIRVEntry *) = 0; 169 virtual SPIRVLine *addLine(SPIRVEntry *E, SPIRVString *FileName, SPIRVWord Line, 177 const std::vector<SPIRVEntry *> &Targets) = 0; 179 SPIRVDecorationGroup *Group, const std::vector<SPIRVEntry *> &Targets) = 0; 188 virtual SPIRVEntry *replaceForward(SPIRVForward *, SPIRVEntry *) = 0;
|
D | SPIRVModule.cpp | 79 bool exist(SPIRVId, SPIRVEntry **) const; 81 virtual SPIRVEntry *getEntry(SPIRVId Id) const; 100 virtual std::vector<SPIRVId> getIds(const std::vector<SPIRVEntry *>&)const; 144 void setName(SPIRVEntry *E, const std::string &Name); 156 template<class T> void addTo(std::vector<T *> &V, SPIRVEntry *E); 157 virtual SPIRVEntry *addEntry(SPIRVEntry *E); 164 virtual SPIRVLine *addLine(SPIRVEntry *E, SPIRVString *FileName, SPIRVWord Line, 172 const std::vector<SPIRVEntry *> &Targets); 176 SPIRVDecorationGroup *Group, const std::vector<SPIRVEntry *> &Targets); 183 virtual SPIRVEntry *replaceForward(SPIRVForward *, SPIRVEntry *); [all …]
|
D | SPIRVValue.h | 56 class SPIRVValue: public SPIRVEntry { 61 :SPIRVEntry(M, TheWordCount, TheOpCode, TheId), Type(TheType) { in SPIRVValue() 67 :SPIRVEntry(M, TheWordCount, TheOpCode), Type(TheType) { in SPIRVValue() 74 :SPIRVEntry(M, TheWordCount, TheOpCode, TheId), Type(NULL) { in SPIRVValue() 80 :SPIRVEntry(M, TheWordCount, TheOpCode), Type(NULL) { in SPIRVValue() 86 SPIRVValue(Op TheOpCode):SPIRVEntry(TheOpCode), Type(NULL) {} in SPIRVValue() 100 SPIRVEntry::validate(); in validate() 283 std::vector<SPIRVEntry*> getNonLiteralOperands() const { in getNonLiteralOperands() 285 return std::vector<SPIRVEntry*>(Elements.begin(), Elements.end()); in getNonLiteralOperands()
|
D | SPIRVStream.cpp | 95 SPIRVDecoder::setScope(SPIRVEntry *TheScope) { in setScope() 233 SPIRVEntry * 237 SPIRVEntry *Entry = SPIRVEntry::create(OpCode); in getEntry()
|
D | SPIRVInstruction.h | 134 void setScope(SPIRVEntry *); 183 auto Inst = static_cast<SPIRVInstTemplateBase *>(SPIRVEntry::create(TheOC)); in create() 234 SPIRVEntry::setWordCount(WC); 273 SPIRVEntry::setWordCount(WC); in setOpWords() 276 SPIRVEntry::setWordCount(WC); in setOpWords() 280 SPIRVEntry::setWordCount(TheWordCount); in setWordCount() 327 virtual std::vector<SPIRVEntry*> getNonLiteralOperands() const { in getNonLiteralOperands() 328 std::vector<SPIRVEntry*> Operands; in getNonLiteralOperands() 488 virtual std::vector<SPIRVEntry*> getNonLiteralOperands() const { in getNonLiteralOperands() 490 return std::vector<SPIRVEntry*>(1, V); in getNonLiteralOperands() [all …]
|
D | SPIRVStream.h | 75 void setScope(SPIRVEntry *); 77 SPIRVEntry *getEntry(); 84 SPIRVEntry *Scope; // A function or basic block
|
D | SPIRVDecorate.cpp | 56 SPIRVEntry *TheTarget) in SPIRVDecorateGeneric() 66 SPIRVEntry *TheTarget, in SPIRVDecorateGeneric() 154 SPIRVEntry::encodeAll(O); in encodeAll()
|
D | SPIRVBasicBlock.cpp | 82 SPIRVBasicBlock::setScope(SPIRVEntry *Scope) { in _SPIRV_IMP_ENCDEC1()
|
D | SPIRVBasicBlock.h | 79 void setScope(SPIRVEntry *Scope);
|
D | SPIRVType.cpp | 270 SPIRVEntry::validate(); in validate()
|
D | SPIRVInstruction.cpp | 91 SPIRVInstruction::setScope(SPIRVEntry *Scope) { in setScope()
|
/external/spirv-llvm/lib/SPIRV/ |
D | OCLUtil.cpp | 161 std::unique_ptr<SPIRVEntry> 165 SPIRVEntry *Entry = nullptr; in getSPIRVInst() 167 Entry = SPIRVEntry::create(OC); in getSPIRVInst() 169 Entry = static_cast<SPIRVEntry*>( in getSPIRVInst() 170 SPIRVEntry::create_unique(SPIRVEIS_OpenCL, ExtOp).get()); in getSPIRVInst() 171 return std::unique_ptr<SPIRVEntry>(Entry); in getSPIRVInst()
|
D | CMakeLists.txt | 14 libSPIRV/SPIRVEntry.cpp
|
D | Android.bp | 30 "libSPIRV/SPIRVEntry.cpp",
|
D | SPIRVWriter.cpp | 197 SPIRVEntry *); 273 SPIRVBasicBlock* BB, SPIRVEntry *Entry); 1237 transArguments(CI, BB, SPIRVEntry::create_unique(ExtSetKind, ExtOp).get()), in transCallInst() 1242 transArguments(CI, BB, SPIRVEntry::create_unique(OpFunctionCall).get()), in transCallInst() 1278 SPIRVEntry *Entry) { in transValue() 1289 LLVMToSPIRV::transArguments(CallInst *CI, SPIRVBasicBlock *BB, SPIRVEntry *Entry) { in transArguments()
|
D | OCLUtil.h | 275 std::unique_ptr<SPIRVEntry>
|
D | SPIRVInternal.h | 529 SPIRVDecorate *mapPostfixToDecorate(StringRef Postfix, SPIRVEntry *Target);
|
D | SPIRVUtil.cpp | 427 mapPostfixToDecorate(StringRef Postfix, SPIRVEntry *Target) { in mapPostfixToDecorate()
|