Searched refs:SPIRVFunction (Results 1 – 16 of 16) sorted by relevance
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVFunction.cpp | 50 SPIRVFunction *TheParent, unsigned TheArgNo): in SPIRVFunctionParameter() 71 SPIRVFunction::getDecoder(std::istream &IS) { in getDecoder() 76 SPIRVFunction::encode(spv_ostream &O) const { in encode() 81 SPIRVFunction::encodeChildren(spv_ostream &O) const { in encodeChildren() 92 SPIRVFunction::encodeExecutionModes(spv_ostream &O)const { in encodeExecutionModes() 98 SPIRVFunction::decode(std::istream &I) { in decode() 132 SPIRVFunction::decodeBB(SPIRVDecoder &Decoder) { in decodeBB() 159 SPIRVFunction::foreachReturnValueAttr( in foreachReturnValueAttr()
|
D | SPIRVBasicBlock.h | 47 class SPIRVFunction; variable 53 SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func); 60 SPIRVFunction *getParent() const { return ParentF;} in getParent() 80 void setParent(SPIRVFunction *F) { ParentF = F;} in setParent() 92 SPIRVFunction *ParentF;
|
D | SPIRVFunction.h | 53 SPIRVFunction *TheParent, unsigned TheArgNo); 61 void setParent(SPIRVFunction *Parent) { ParentFunc = Parent;} in setParent() 79 SPIRVFunction *ParentFunc; 83 class SPIRVFunction: public SPIRVValue, public SPIRVComponentExecutionModes { 86 SPIRVFunction(SPIRVModule *M, SPIRVTypeFunction *FunctionType, SPIRVId TheId) 94 SPIRVFunction():SPIRVValue(OpFunction),FuncType(NULL),
|
D | SPIRVModule.h | 57 class SPIRVFunction; variable 114 virtual SPIRVFunction *getEntryPoint(SPIRVExecutionModelKind, unsigned) const 117 virtual SPIRVFunction *getFunction(unsigned) const = 0; 162 virtual SPIRVBasicBlock *addBasicBlock(SPIRVFunction *, 185 virtual SPIRVFunction *addFunction(SPIRVFunction *) = 0; 186 virtual SPIRVFunction *addFunction(SPIRVTypeFunction *, 255 virtual SPIRVInstruction *addCallInst(SPIRVFunction*, 320 std::string getFunctionFileStr(SPIRVFunction *); 321 unsigned getFunctionLineNo(SPIRVFunction *); 323 std::unordered_map<SPIRVFunction *, SPIRVLine *> FuncMap;
|
D | SPIRVBasicBlock.cpp | 51 SPIRVBasicBlock::SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func) in SPIRVBasicBlock() 84 setParent(static_cast<SPIRVFunction*>(Scope)); in _SPIRV_IMP_ENCDEC1()
|
D | SPIRVModule.cpp | 96 SPIRVFunction *getFunction(unsigned I) const { return FuncVec[I];} in getFunction() 113 SPIRVFunction *getEntryPoint(SPIRVExecutionModelKind EM, unsigned I) const { in getEntryPoint() 118 return get<SPIRVFunction>(Loc->second[I]); in getEntryPoint() 158 virtual SPIRVBasicBlock *addBasicBlock(SPIRVFunction *, SPIRVId); 181 virtual SPIRVFunction *addFunction(SPIRVFunction *); 182 virtual SPIRVFunction *addFunction(SPIRVTypeFunction *, SPIRVId); 244 virtual SPIRVInstruction *addCallInst(SPIRVFunction*, 320 typedef std::vector<SPIRVFunction *> SPIRVFunctionVector; 804 SPIRVFunction * 805 SPIRVModuleImpl::addFunction(SPIRVFunction *Func) { in addFunction() [all …]
|
D | SPIRVInstruction.cpp | 96 SPIRVFunctionCall::SPIRVFunctionCall(SPIRVId TheId, SPIRVFunction *TheFunction, in SPIRVFunctionCall() 123 Ty = reinterpret_cast<SPIRVFunction*>(I)->getFunctionType(); in getOperandTypes()
|
D | SPIRVStream.h | 64 class SPIRVFunction; variable 72 SPIRVDecoder(std::istream& InputStream, SPIRVFunction& F);
|
D | SPIRVStream.cpp | 86 SPIRVDecoder::SPIRVDecoder(std::istream &InputStream, SPIRVFunction &F) in SPIRVDecoder()
|
D | SPIRVEntry.cpp | 339 static_cast<SPIRVFunction *>(this)->takeExecutionModes(E); in takeAnnotations() 418 :SPIRVAnnotation(TheModule->get<SPIRVFunction>(TheId), in SPIRVEntryPoint()
|
D | SPIRVValue.h | 398 friend class SPIRVFunction; in _SPIRV_DEF_ENCDEC1()
|
D | SPIRVInstruction.h | 65 class SPIRVFunction; variable 1181 SPIRVFunctionCall(SPIRVId TheId, SPIRVFunction *TheFunction, 1184 SPIRVFunction *getFunction()const { 1185 return get<SPIRVFunction>(FunctionId);
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVWriter.cpp | 106 foreachKernelArgMD(MDNode *MD, SPIRVFunction *BF, in foreachKernelArgMD() 205 SPIRVFunction *transFunctionDecl(Function *F); 635 SPIRVFunction * 638 return static_cast<SPIRVFunction *>(BF); in transFunctionDecl() 642 SPIRVFunction *BF = static_cast<SPIRVFunction *>(mapValue(F, in transFunctionDecl() 864 auto BF = static_cast<SPIRVFunction *>(getTranslatedValue(LBB->getParent())); in transValueWithoutDecoration() 919 SPIRVFunction *BF = BB->getParent(); in transValueWithoutDecoration() 1459 SPIRVFunction *BF = static_cast<SPIRVFunction *>(getTranslatedValue(F)); in transExecutionMode() 1509 SPIRVFunction *BF = static_cast<SPIRVFunction *>(getTranslatedValue(Kernel)); in transOCLKernelMetadata()
|
D | CMakeLists.txt | 15 libSPIRV/SPIRVFunction.cpp
|
D | Android.bp | 31 "libSPIRV/SPIRVFunction.cpp",
|
D | SPIRVReader.cpp | 110 isOpenCLKernel(SPIRVFunction *BF) { in isOpenCLKernel() 174 SPIRVFunction *BF, std::function<Metadata *(SPIRVFunctionParameter *)>Func){ in addOCLKernelArgumentMetadata() 222 DISubprogram* getDISubprogram(SPIRVFunction *SF, Function *F){ in getDISubprogram() 307 Function *transFunction(SPIRVFunction *F); 392 typedef DenseMap<SPIRVFunction *, Function *> SPIRVToLLVMFunctionMap; 458 Value *mapFunction(SPIRVFunction *BF, Function *F) { in mapFunction() 1476 return mapValue(BV, transFunction(static_cast<SPIRVFunction *>(BV))); in transValueWithoutDecoration() 1825 SPIRVToLLVM::transFunction(SPIRVFunction *BF) { in transFunction() 2142 SPIRVFunction *BF = BM->getFunction(I); in transFPContractMetadata() 2172 SPIRVFunction *BF = BM->getFunction(I); in transKernelMetadata() [all …]
|