Home
last modified time | relevance | path

Searched refs:SPIRVBasicBlock (Results 1 – 14 of 14) sorted by relevance

/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVModule.h54 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 …]
DSPIRVBasicBlock.cpp51 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()
DSPIRVModule.cpp158 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 …]
DSPIRVInstruction.cpp50 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()
DSPIRVInstruction.h64 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 …]
DSPIRVBasicBlock.h50 class SPIRVBasicBlock: public SPIRVValue {
53 SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func);
55 SPIRVBasicBlock():SPIRVValue(OpLabel), ParentF(NULL){ in SPIRVBasicBlock() function
102 typedef SPIRVBasicBlock SPIRVLabel;
DSPIRVFunction.h101 SPIRVBasicBlock *getBasicBlock(size_t i) const { return BBVec[i];}
125 SPIRVBasicBlock *addBasicBlock(SPIRVBasicBlock *BB) {
160 typedef std::vector<SPIRVBasicBlock *> SPIRVLBasicBlockVector;
DSPIRVFunction.cpp133 SPIRVBasicBlock *BB = static_cast<SPIRVBasicBlock*>(Decoder.getEntry()); in decodeBB()
DSPIRVStream.h65 class SPIRVBasicBlock; variable
73 SPIRVDecoder(std::istream& InputStream, SPIRVBasicBlock &BB);
DSPIRVStream.cpp90 SPIRVDecoder::SPIRVDecoder(std::istream &InputStream, SPIRVBasicBlock &BB) in SPIRVDecoder()
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp195 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 …]
DCMakeLists.txt11 libSPIRV/SPIRVBasicBlock.cpp
DAndroid.bp27 "libSPIRV/SPIRVBasicBlock.cpp",
DSPIRVReader.cpp1529 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()