Home
last modified time | relevance | path

Searched refs:pInst (Results 1 – 23 of 23) sorted by relevance

/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dtext.cpp161 const char* text, spv_instruction_t* pInst) { in encodeImmediate() argument
168 context->binaryEncodeU32(parse_result, pInst); in encodeImmediate()
189 spv_instruction_t* pInst, in spvTextEncodeOperand() argument
193 if (auto error = encodeImmediate(context, textValue, pInst)) { in spvTextEncodeOperand()
223 if (type == SPV_OPERAND_TYPE_TYPE_ID) pInst->resultTypeId = id; in spvTextEncodeOperand()
224 spvInstructionAddWord(pInst, id); in spvTextEncodeOperand()
228 if (pInst->opcode == SpvOpExtInst && pInst->words.size() == 4) { in spvTextEncodeOperand()
229 auto ext_inst_type = context->getExtInstTypeForId(pInst->words[3]); in spvTextEncodeOperand()
233 << pInst->words[2]; in spvTextEncodeOperand()
235 pInst->extInstType = ext_inst_type; in spvTextEncodeOperand()
[all …]
Dtext_handler.cpp234 spv_instruction_t* pInst) { in binaryEncodeU32() argument
235 pInst->words.insert(pInst->words.end(), value); in binaryEncodeU32()
241 spv_instruction_t* pInst) { in binaryEncodeNumericLiteral() argument
279 [this, pInst](uint32_t d) { this->binaryEncodeU32(d, pInst); }, in binaryEncodeNumericLiteral()
297 spv_instruction_t* pInst) { in binaryEncodeString() argument
300 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString()
309 pInst->words.resize(newWordCount); in binaryEncodeString()
313 pInst->words.back() = 0; in binaryEncodeString()
315 char* dest = (char*)&pInst->words[oldWordCount]; in binaryEncodeString()
322 const spv_instruction_t* pInst) { in recordTypeDefinition() argument
[all …]
Dopcode.cpp158 spv_instruction_t* pInst) { in spvInstructionCopy() argument
159 pInst->opcode = opcode; in spvInstructionCopy()
160 pInst->words.resize(wordCount); in spvInstructionCopy()
162 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian); in spvInstructionCopy()
166 spvOpcodeSplit(pInst->words[wordIndex], &thisWordCount, &thisOpcode); in spvInstructionCopy()
Dtext_handler.h180 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
185 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
197 spv_instruction_t* pInst);
215 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dtext.cpp163 const char* text, spv_instruction_t* pInst) { in encodeImmediate() argument
170 context->binaryEncodeU32(parse_result, pInst); in encodeImmediate()
191 spv_instruction_t* pInst, in spvTextEncodeOperand() argument
195 if (auto error = encodeImmediate(context, textValue, pInst)) { in spvTextEncodeOperand()
225 if (type == SPV_OPERAND_TYPE_TYPE_ID) pInst->resultTypeId = id; in spvTextEncodeOperand()
226 spvInstructionAddWord(pInst, id); in spvTextEncodeOperand()
230 if (pInst->opcode == SpvOpExtInst && pInst->words.size() == 4) { in spvTextEncodeOperand()
231 auto ext_inst_type = context->getExtInstTypeForId(pInst->words[3]); in spvTextEncodeOperand()
235 << pInst->words[2]; in spvTextEncodeOperand()
237 pInst->extInstType = ext_inst_type; in spvTextEncodeOperand()
[all …]
Dtext_handler.cpp235 spv_instruction_t* pInst) { in binaryEncodeU32() argument
236 pInst->words.insert(pInst->words.end(), value); in binaryEncodeU32()
242 spv_instruction_t* pInst) { in binaryEncodeNumericLiteral() argument
280 [this, pInst](uint32_t d) { this->binaryEncodeU32(d, pInst); }, in binaryEncodeNumericLiteral()
298 spv_instruction_t* pInst) { in binaryEncodeString() argument
301 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString()
310 pInst->words.resize(newWordCount); in binaryEncodeString()
314 pInst->words.back() = 0; in binaryEncodeString()
316 char* dest = (char*)&pInst->words[oldWordCount]; in binaryEncodeString()
323 const spv_instruction_t* pInst) { in recordTypeDefinition() argument
[all …]
Dtext_handler.h187 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
192 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
204 spv_instruction_t* pInst);
222 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
Dopcode.cpp171 spv_instruction_t* pInst) { in spvInstructionCopy() argument
172 pInst->opcode = opcode; in spvInstructionCopy()
173 pInst->words.resize(wordCount); in spvInstructionCopy()
175 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian); in spvInstructionCopy()
179 spvOpcodeSplit(pInst->words[wordIndex], &thisWordCount, &thisOpcode); in spvInstructionCopy()
/third_party/spirv-tools/source/
Dtext.cpp163 const char* text, spv_instruction_t* pInst) { in encodeImmediate() argument
170 context->binaryEncodeU32(parse_result, pInst); in encodeImmediate()
191 spv_instruction_t* pInst, in spvTextEncodeOperand() argument
195 if (auto error = encodeImmediate(context, textValue, pInst)) { in spvTextEncodeOperand()
225 if (type == SPV_OPERAND_TYPE_TYPE_ID) pInst->resultTypeId = id; in spvTextEncodeOperand()
226 spvInstructionAddWord(pInst, id); in spvTextEncodeOperand()
230 if (pInst->opcode == SpvOpExtInst && pInst->words.size() == 4) { in spvTextEncodeOperand()
231 auto ext_inst_type = context->getExtInstTypeForId(pInst->words[3]); in spvTextEncodeOperand()
235 << pInst->words[2]; in spvTextEncodeOperand()
237 pInst->extInstType = ext_inst_type; in spvTextEncodeOperand()
[all …]
Dtext_handler.cpp234 spv_instruction_t* pInst) { in binaryEncodeU32() argument
235 pInst->words.insert(pInst->words.end(), value); in binaryEncodeU32()
241 spv_instruction_t* pInst) { in binaryEncodeNumericLiteral() argument
279 [this, pInst](uint32_t d) { this->binaryEncodeU32(d, pInst); }, in binaryEncodeNumericLiteral()
297 spv_instruction_t* pInst) { in binaryEncodeString() argument
300 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString()
309 pInst->words.resize(newWordCount); in binaryEncodeString()
313 pInst->words.back() = 0; in binaryEncodeString()
315 char* dest = (char*)&pInst->words[oldWordCount]; in binaryEncodeString()
322 const spv_instruction_t* pInst) { in recordTypeDefinition() argument
[all …]
Dtext_handler.h187 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
192 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
204 spv_instruction_t* pInst);
222 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
Dopcode.cpp171 spv_instruction_t* pInst) { in spvInstructionCopy() argument
172 pInst->opcode = opcode; in spvInstructionCopy()
173 pInst->words.resize(wordCount); in spvInstructionCopy()
175 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian); in spvInstructionCopy()
179 spvOpcodeSplit(pInst->words[wordIndex], &thisWordCount, &thisOpcode); in spvInstructionCopy()
/third_party/skia/third_party/externals/spirv-tools/source/
Dtext.cpp163 const char* text, spv_instruction_t* pInst) { in encodeImmediate() argument
170 context->binaryEncodeU32(parse_result, pInst); in encodeImmediate()
191 spv_instruction_t* pInst, in spvTextEncodeOperand() argument
195 if (auto error = encodeImmediate(context, textValue, pInst)) { in spvTextEncodeOperand()
225 if (type == SPV_OPERAND_TYPE_TYPE_ID) pInst->resultTypeId = id; in spvTextEncodeOperand()
226 spvInstructionAddWord(pInst, id); in spvTextEncodeOperand()
230 if (pInst->opcode == SpvOpExtInst && pInst->words.size() == 4) { in spvTextEncodeOperand()
231 auto ext_inst_type = context->getExtInstTypeForId(pInst->words[3]); in spvTextEncodeOperand()
235 << pInst->words[2]; in spvTextEncodeOperand()
237 pInst->extInstType = ext_inst_type; in spvTextEncodeOperand()
[all …]
Dtext_handler.cpp235 spv_instruction_t* pInst) { in binaryEncodeU32() argument
236 pInst->words.insert(pInst->words.end(), value); in binaryEncodeU32()
242 spv_instruction_t* pInst) { in binaryEncodeNumericLiteral() argument
280 [this, pInst](uint32_t d) { this->binaryEncodeU32(d, pInst); }, in binaryEncodeNumericLiteral()
298 spv_instruction_t* pInst) { in binaryEncodeString() argument
301 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString()
310 pInst->words.resize(newWordCount); in binaryEncodeString()
314 pInst->words.back() = 0; in binaryEncodeString()
316 char* dest = (char*)&pInst->words[oldWordCount]; in binaryEncodeString()
323 const spv_instruction_t* pInst) { in recordTypeDefinition() argument
[all …]
Dtext_handler.h187 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
192 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
204 spv_instruction_t* pInst);
222 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
Dopcode.cpp171 spv_instruction_t* pInst) { in spvInstructionCopy() argument
172 pInst->opcode = opcode; in spvInstructionCopy()
173 pInst->words.resize(wordCount); in spvInstructionCopy()
175 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian); in spvInstructionCopy()
179 spvOpcodeSplit(pInst->words[wordIndex], &thisWordCount, &thisOpcode); in spvInstructionCopy()
/third_party/typescript/tests/baselines/reference/
DsignaturesUseJSDocForOptionalParameters.symbols27 let pInst = new MyClass();
28 >pInst : Symbol(pInst, Decl(jsDocOptionality.js, 11, 3))
31 let c1 = pInst.optionalParam('hello')
33 >pInst.optionalParam : Symbol(MyClass.optionalParam, Decl(jsDocOptionality.js, 2, 1))
34 >pInst : Symbol(pInst, Decl(jsDocOptionality.js, 11, 3))
37 let c2 = pInst.optionalParam('hello', null)
39 >pInst.optionalParam : Symbol(MyClass.optionalParam, Decl(jsDocOptionality.js, 2, 1))
40 >pInst : Symbol(pInst, Decl(jsDocOptionality.js, 11, 3))
DsignaturesUseJSDocForOptionalParameters.types32 let pInst = new MyClass();
33 >pInst : MyClass
37 let c1 = pInst.optionalParam('hello')
39 >pInst.optionalParam('hello') : MyClass
40 >pInst.optionalParam : (required: string, notRequired?: string) => MyClass
41 >pInst : MyClass
45 let c2 = pInst.optionalParam('hello', null)
47 >pInst.optionalParam('hello', null) : MyClass
48 >pInst.optionalParam : (required: string, notRequired?: string) => MyClass
49 >pInst : MyClass
DsignaturesUseJSDocForOptionalParameters.js13 let pInst = new MyClass(); variable
14 let c1 = pInst.optionalParam('hello')
15 let c2 = pInst.optionalParam('hello', null)
30 var pInst = new MyClass(); variable
31 var c1 = pInst.optionalParam('hello');
32 var c2 = pInst.optionalParam('hello', null);
/third_party/typescript/tests/cases/compiler/
DsignaturesUseJSDocForOptionalParameters.ts15 let pInst = new MyClass(); variable
16 let c1 = pInst.optionalParam('hello')
17 let c2 = pInst.optionalParam('hello', null)
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.h206 void emitInstructionAnnot(const llvm::Instruction* pInst,
DJitManager.cpp832 void InterleaveAssemblyAnnotater::emitInstructionAnnot(const llvm::Instruction* pInst, in emitInstructionAnnot() argument
835 auto dbgLoc = pInst->getDebugLoc(); in emitInstructionAnnot()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/functionpasses/
Dlower_x86.cpp468 for (auto* pInst : toRemove) in runOnFunction() local
470 pInst->eraseFromParent(); in runOnFunction()