Home
last modified time | relevance | path

Searched refs:SPIRVInstruction (Results 1 – 12 of 12) sorted by relevance

/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVInstruction.cpp49 SPIRVInstruction::SPIRVInstruction(unsigned TheWordCount, Op TheOC, in SPIRVInstruction() function in SPIRV::SPIRVInstruction
56 SPIRVInstruction::SPIRVInstruction(unsigned TheWordCount, Op TheOC, in SPIRVInstruction() function in SPIRV::SPIRVInstruction
63 SPIRVInstruction::SPIRVInstruction(unsigned TheWordCount, Op TheOC, in SPIRVInstruction() function in SPIRV::SPIRVInstruction
69 SPIRVInstruction::SPIRVInstruction(unsigned TheWordCount, Op TheOC, in SPIRVInstruction() function in SPIRV::SPIRVInstruction
75 SPIRVInstruction::SPIRVInstruction(unsigned TheWordCount, Op TheOC, in SPIRVInstruction() function in SPIRV::SPIRVInstruction
82 SPIRVInstruction::setParent(SPIRVBasicBlock *TheBB) { in setParent()
91 SPIRVInstruction::setScope(SPIRVEntry *Scope) { in setScope()
111 SPIRVInstruction::getOperands() { in getOperands()
118 SPIRVInstruction::getOperandTypes(const std::vector<SPIRVValue *> &Ops) { in getOperandTypes()
133 SPIRVInstruction::getOperandTypes() { in getOperandTypes()
[all …]
DSPIRVModule.h58 class SPIRVInstruction; variable
232 virtual SPIRVInstruction *addPtrAccessChainInst(SPIRVType *, SPIRVValue *,
234 virtual SPIRVInstruction *addAsyncGroupCopy(SPIRVValue *Scope,
237 virtual SPIRVInstruction *addBinaryInst(Op, SPIRVType *, SPIRVValue *,
239 virtual SPIRVInstruction *addBranchConditionalInst(SPIRVValue *, SPIRVLabel *,
241 virtual SPIRVInstruction *addBranchInst(SPIRVLabel *, SPIRVBasicBlock *) = 0;
242 virtual SPIRVInstruction *addExtInst(SPIRVType *, SPIRVWord, SPIRVWord,
244 virtual SPIRVInstruction *addExtInst(SPIRVType *, SPIRVWord, SPIRVWord,
255 virtual SPIRVInstruction *addCallInst(SPIRVFunction*,
257 virtual SPIRVInstruction *addCompositeExtractInst(SPIRVType *, SPIRVValue *,
[all …]
DSPIRVBasicBlock.h48 class SPIRVInstruction; variable
62 SPIRVInstruction *getInst(size_t I) const { return InstVec[I];} in getInst()
63 SPIRVInstruction *getPrevious(const SPIRVInstruction *I) const { in getPrevious()
69 SPIRVInstruction *getNext(const SPIRVInstruction *I) const { in getNext()
81 SPIRVInstruction *addInstruction(SPIRVInstruction *I);
93 typedef std::vector<SPIRVInstruction *> SPIRVInstructionVector;
96 SPIRVInstructionVector::const_iterator find(const SPIRVInstruction *Inst) in find()
DSPIRVInstruction.h103 class SPIRVInstruction: public SPIRVValue {
106 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVType *TheType,
109 SPIRVInstruction(unsigned TheWordCount, Op TheOC,
113 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVId TheId,
116 SPIRVInstruction(unsigned TheWordCount, Op TheOC,
119 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVType *TheType,
122 SPIRVInstruction(Op TheOC = OpNop):SPIRVValue(TheOC), BB(NULL){} in SPIRVValue()
126 SPIRVInstruction *getPrevious() const { return BB->getPrevious(this);} in getPrevious()
127 SPIRVInstruction *getNext() const { return BB->getNext(this);} in getNext()
178 class SPIRVInstTemplateBase:public SPIRVInstruction {
[all …]
DSPIRVModule.cpp213 virtual SPIRVInstruction *addBranchInst(SPIRVLabel *, SPIRVBasicBlock *);
214 virtual SPIRVInstruction *addBranchConditionalInst(SPIRVValue *, SPIRVLabel *,
231 virtual SPIRVInstruction *addPtrAccessChainInst(SPIRVType *, SPIRVValue *,
233 virtual SPIRVInstruction *addAsyncGroupCopy(SPIRVValue *Scope,
236 virtual SPIRVInstruction *addExtInst(SPIRVType *,
239 virtual SPIRVInstruction *addExtInst(SPIRVType *,
242 virtual SPIRVInstruction *addBinaryInst(Op, SPIRVType *, SPIRVValue *,
244 virtual SPIRVInstruction *addCallInst(SPIRVFunction*,
246 virtual SPIRVInstruction *addCmpInst(Op, SPIRVType *, SPIRVValue *,
248 virtual SPIRVInstruction *addLoadInst(SPIRVValue *,
[all …]
DSPIRVBasicBlock.cpp63 SPIRVInstruction *
64 SPIRVBasicBlock::addInstruction(SPIRVInstruction *I) { in addInstruction()
DSPIRVFunction.cpp151 SPIRVInstruction *Inst = static_cast<SPIRVInstruction *>(Decoder.getEntry()); in decodeBB()
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp240 auto SI = static_cast<SPIRVInstruction *>(SV); in transDbgInfo()
288 std::string getOCLBuiltinName(SPIRVInstruction* BI);
289 std::string getOCLConvertBuiltinName(SPIRVInstruction *BI);
290 std::string getOCLGenericCastToPtrName(SPIRVInstruction *BI);
316 SPIRVInstruction* BI, BasicBlock* BB);
317 Instruction *transOCLBuiltinFromInst(SPIRVInstruction *BI, BasicBlock *BB);
318 Instruction *transSPIRVBuiltinFromInst(SPIRVInstruction *BI, BasicBlock *BB);
319 Instruction *transOCLBarrierFence(SPIRVInstruction* BI, BasicBlock *BB);
354 Instruction *postProcessOCLReadImage(SPIRVInstruction *BI, CallInst *CI,
362 CallInst *postProcessOCLWriteImage(SPIRVInstruction *BI, CallInst *CI,
[all …]
DSPIRVWriter.cpp275 SPIRVInstruction* transBinaryInst(BinaryOperator* B, SPIRVBasicBlock* BB);
276 SPIRVInstruction* transCmpInst(CmpInst* Cmp, SPIRVBasicBlock* BB);
295 SPIRVInstruction *transBuiltinToInst(const std::string& DemangledName,
297 SPIRVInstruction *transBuiltinToInstWithoutDecoration(Op OC,
305 SPIRV::SPIRVInstruction* transUnaryInst(UnaryInstruction* U,
812 SPIRVInstruction*
816 SPIRVInstruction* BI = BM->addBinaryInst( in transBinaryInst()
822 SPIRVInstruction*
825 SPIRVInstruction* BI = BM->addCmpInst( in transCmpInst()
832 SPIRV::SPIRVInstruction *LLVMToSPIRV::transUnaryInst(UnaryInstruction *U, in transUnaryInst()
[all …]
DCMakeLists.txt16 libSPIRV/SPIRVInstruction.cpp
DOCLUtil.h98 typedef SPIRVMap<std::string, Op, SPIRVInstruction>
491 class SPIRVInstruction; variable
493 SPIRVMap<std::string, Op, SPIRVInstruction>::init() { in init()
DAndroid.bp32 "libSPIRV/SPIRVInstruction.cpp",