/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVModule.h | 54 class SPIRVBasicBlock; variable 86 typedef SPIRVBasicBlock SPIRVLabel; 162 virtual SPIRVBasicBlock *addBasicBlock(SPIRVFunction *, 233 std::vector<SPIRVValue *>, SPIRVBasicBlock *, bool) = 0; 236 SPIRVValue *Event, SPIRVBasicBlock *BB) = 0; 238 SPIRVValue *, SPIRVBasicBlock *) = 0; 240 SPIRVLabel *, SPIRVBasicBlock *) = 0; 241 virtual SPIRVInstruction *addBranchInst(SPIRVLabel *, SPIRVBasicBlock *) = 0; 243 const std::vector<SPIRVWord> &, SPIRVBasicBlock *) = 0; 245 const std::vector<SPIRVValue *> &, SPIRVBasicBlock *) = 0; [all …]
|
D | SPIRVBasicBlock.cpp | 51 SPIRVBasicBlock::SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func) in SPIRVBasicBlock() function in SPIRVBasicBlock 58 SPIRVBasicBlock::getDecoder(std::istream &IS){ in getDecoder() 64 SPIRVBasicBlock::addInstruction(SPIRVInstruction *I) { in addInstruction() 73 SPIRVBasicBlock::encodeChildren(spv_ostream &O) const { in encodeChildren() 79 _SPIRV_IMP_ENCDEC1(SPIRVBasicBlock, Id) in _SPIRV_IMP_ENCDEC1() argument 82 SPIRVBasicBlock::setScope(SPIRVEntry *Scope) { in _SPIRV_IMP_ENCDEC1()
|
D | SPIRVModule.cpp | 158 virtual SPIRVBasicBlock *addBasicBlock(SPIRVFunction *, SPIRVId); 213 virtual SPIRVInstruction *addBranchInst(SPIRVLabel *, SPIRVBasicBlock *); 215 SPIRVLabel *, SPIRVBasicBlock *); 232 std::vector<SPIRVValue *>, SPIRVBasicBlock *, bool); 235 SPIRVValue *Event, SPIRVBasicBlock *BB); 238 SPIRVBasicBlock *); 241 SPIRVBasicBlock *); 243 SPIRVValue *, SPIRVBasicBlock *); 245 const std::vector<SPIRVWord> &, SPIRVBasicBlock *); 247 SPIRVValue *, SPIRVBasicBlock *); [all …]
|
D | SPIRVInstruction.cpp | 50 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB) in SPIRVInstruction() 57 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB, SPIRVModule *TheBM) in SPIRVInstruction() 64 SPIRVId TheId, SPIRVBasicBlock *TheBB) in SPIRVInstruction() 70 SPIRVBasicBlock *TheBB) in SPIRVInstruction() 76 SPIRVType *TheType, SPIRVBasicBlock *TheBB) in SPIRVInstruction() 82 SPIRVInstruction::setParent(SPIRVBasicBlock *TheBB) { in setParent() 93 setParent(static_cast<SPIRVBasicBlock*>(Scope)); in setScope() 97 const std::vector<SPIRVWord> &TheArgs, SPIRVBasicBlock *BB) in SPIRVFunctionCall()
|
D | SPIRVInstruction.h | 64 class SPIRVBasicBlock; variable 107 SPIRVId TheId, SPIRVBasicBlock *TheBB); 110 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB, 114 SPIRVBasicBlock *TheBB); 117 SPIRVBasicBlock *TheBB); 120 SPIRVBasicBlock *TheBB); 125 SPIRVBasicBlock *getParent() const {return BB;} in getParent() 133 void setParent(SPIRVBasicBlock *); 160 SPIRVBasicBlock* getBasicBlock() const { in getBasicBlock() 164 void setBasicBlock(SPIRVBasicBlock* TheBB) { in setBasicBlock() [all …]
|
D | SPIRVBasicBlock.h | 50 class SPIRVBasicBlock: public SPIRVValue { 53 SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func); 55 SPIRVBasicBlock():SPIRVValue(OpLabel), ParentF(NULL){ in SPIRVBasicBlock() function 102 typedef SPIRVBasicBlock SPIRVLabel;
|
D | SPIRVFunction.h | 101 SPIRVBasicBlock *getBasicBlock(size_t i) const { return BBVec[i];} 125 SPIRVBasicBlock *addBasicBlock(SPIRVBasicBlock *BB) { 160 typedef std::vector<SPIRVBasicBlock *> SPIRVLBasicBlockVector;
|
D | SPIRVFunction.cpp | 133 SPIRVBasicBlock *BB = static_cast<SPIRVBasicBlock*>(Decoder.getEntry()); in decodeBB()
|
D | SPIRVStream.h | 65 class SPIRVBasicBlock; variable 73 SPIRVDecoder(std::istream& InputStream, SPIRVBasicBlock &BB);
|
D | SPIRVStream.cpp | 90 SPIRVDecoder::SPIRVDecoder(std::istream &InputStream, SPIRVBasicBlock &BB) in SPIRVDecoder()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVWriter.cpp | 195 std::vector<SPIRVValue *> transArguments(CallInst *, SPIRVBasicBlock *); 196 std::vector<SPIRVWord> transArguments(CallInst *, SPIRVBasicBlock *, 201 SPIRVValue *transCallInst(CallInst *Call, SPIRVBasicBlock *BB); 214 SPIRVValue *transValue(Value *V, SPIRVBasicBlock *BB, 216 SPIRVValue *transValueWithoutDecoration(Value *V, SPIRVBasicBlock *BB, 271 SPIRVBasicBlock* BB); 273 SPIRVBasicBlock* BB, SPIRVEntry *Entry); 275 SPIRVInstruction* transBinaryInst(BinaryOperator* B, SPIRVBasicBlock* BB); 276 SPIRVInstruction* transCmpInst(CmpInst* Cmp, SPIRVBasicBlock* BB); 296 const std::string &MangledName, CallInst* CI, SPIRVBasicBlock* BB); [all …]
|
D | CMakeLists.txt | 11 libSPIRV/SPIRVBasicBlock.cpp
|
D | Android.bp | 27 "libSPIRV/SPIRVBasicBlock.cpp",
|
D | SPIRVReader.cpp | 1529 Phi->foreachPair([&](SPIRVValue *IncomingV, SPIRVBasicBlock *IncomingBB, in transValueWithoutDecoration() 1626 [&](SPIRVWord Literal, SPIRVBasicBlock *Label, size_t Index) { in transValueWithoutDecoration() 1878 SPIRVBasicBlock *BBB = BF->getBasicBlock(I); in transFunction()
|