/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 86 parseSparcAsmOperand(std::unique_ptr<SparcOperand> &Operand, 378 static std::unique_ptr<SparcOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() 379 auto Op = std::make_unique<SparcOperand>(k_Token); in CreateToken() 387 static std::unique_ptr<SparcOperand> CreateReg(unsigned RegNum, unsigned Kind, in CreateReg() 389 auto Op = std::make_unique<SparcOperand>(k_Register); in CreateReg() 397 static std::unique_ptr<SparcOperand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm() 399 auto Op = std::make_unique<SparcOperand>(k_Immediate); in CreateImm() 472 static std::unique_ptr<SparcOperand> 473 MorphToMEMrr(unsigned Base, std::unique_ptr<SparcOperand> Op) { in MorphToMEMrr() 482 static std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelLowering.cpp | 379 DoneMBB->splice(DoneMBB->begin(), BB, std::next(MI.getIterator()), BB->end()); in LowerFPToInt() 490 std::pair<unsigned, const TargetRegisterClass *> 501 return std::make_pair(0U, &WebAssembly::V128RegClass); in getRegForInlineAsmConstraint() 505 return std::make_pair(0U, &WebAssembly::I32RegClass); in getRegForInlineAsmConstraint() 507 return std::make_pair(0U, &WebAssembly::I64RegClass); in getRegForInlineAsmConstraint() 684 std::equal(CallerRetTys.begin(), CallerRetTys.end(), in LowerCall() 716 std::swap(Outs[0], Outs[1]); in LowerCall() 717 std::swap(OutVals[0], OutVals[1]); in LowerCall() 766 unsigned Align = std::max(Out.Flags.getOrigAlign(), in LowerCall() 963 std in LowerFormalArguments() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | LICM.cpp | 171 using ASTrackerMapTy = DenseMap<Loop *, std::unique_ptr<AliasSetTracker>>; 188 std::unique_ptr<AliasSetTracker> 190 std::unique_ptr<AliasSetTracker> 342 std::unique_ptr<AliasSetTracker> CurAST; in runOnLoop() 343 std::unique_ptr<MemorySSAUpdater> MSSAU; in runOnLoop() 352 MSSAU = std::make_unique<MemorySSAUpdater>(MSSA); in runOnLoop() 482 LoopToAliasSetMap[L] = std::move(CurAST); in runOnLoop() 632 auto It = std::find_if(F->begin(), F->end(), IsSucc); in registerPossiblyHoistableBranch() 700 auto It = std::find_if(HoistableBranches.begin(), HoistableBranches.end(), in getOrCreateHoistedBlock() 713 assert(std in getOrCreateHoistedBlock() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 377 .getLimitedValue(std::numeric_limits<uint64_t>::max() - 1) + 1; in getEstimatedNumberOfCaseClusters() 643 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() 702 std::pair<unsigned, MVT> SrcLT = TLI->getTypeLegalizationCost(DL, Src); in getCastInstrCost() 703 std::pair<unsigned, MVT> DstLT = TLI->getTypeLegalizationCost(DL, Dst); in getCastInstrCost() 848 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost() 877 std::pair<unsigned, MVT> LT = in getVectorInstrCost() 887 std::pair<unsigned, MVT> LT = getTLI()->getTypeLegalizationCost(DL, Src); in getMemoryOpCost() 1094 unsigned ScalarizationCost = std::numeric_limits<unsigned>::max(); in getIntrinsicInstrCost() 1176 /// If ScalarizationCostPassed is std::numeric_limits<unsigned>::max(), the 1181 unsigned ScalarizationCostPassed = std in getIntrinsicInstrCost() 1179 getIntrinsicInstrCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF, unsigned ScalarizationCostPassed = std::numeric_limits<unsigned>::max()) getIntrinsicInstrCost() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboTestUtil.cpp | 46 using std::string; 47 using std::vector; 71 return tcu::Vector<T, 4>(((double)in.x() + 0.5 >= (double)std::numeric_limits<T>::max()) ? (std::numeric_limits<T>::max()) : (((double)in.x() - 0.5 <= (double)std::numeric_limits<T>::min()) ? (std::numeric_limits<T>::min()) : (T(in.x()))), in castVectorSaturate() 72 ((double)in.y() + 0.5 >= (double)std::numeric_limits<T>::max()) ? (std::numeric_limits<T>::max()) : (((double)in.y() - 0.5 <= (double)std::numeric_limits<T>::min()) ? (std in castVectorSaturate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBufferTests.cpp | 92 std::vector<AllocationSp> allocations; //!< actual allocated memory 93 std::vector<VkSparseMemoryBind> memoryBinds; //!< memory binds backing the resource 133 std::vector<MemoryBind> m_memoryBinds; 134 std::vector<deUint32> m_chunksPerAllocation; 222 const VkDeviceSize chunkSize = std::max(memoryRequirements.alignment, static_cast<VkDeviceSize>(deAlign64(minChunkSize, memoryRequirements.alignment))); in build() 232 for (std::vector<deUint32>::const_iterator numChunksIter = m_chunksPerAllocation.begin(); numChunksIter != m_chunksPerAllocation.end(); ++numChunksIter) in build() 238 for (std::vector<MemoryBind>::const_iterator memBindIter = m_memoryBinds.begin(); memBindIter != m_memoryBinds.end(); ++memBindIter) in build() 250 referenceCreateInfo.size = std::max(referenceCreateInfo.size, bind.resourceOffset + bind.size); in build() 468 typedef std::map<VkShaderStageFlagBits, const VkSpecializationInfo*> SpecializationMap; 483 const std in Renderer() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationCrossInstanceSharingTests.cpp | 329 std::vector<std::string> extensions; in createTestInstance() 345 const std::vector<vk::VkQueueFamilyProperties> queueFamilyProperties = vk::getPhysicalDeviceQueueFamilyProperties(vki, physicalDevice); in createTestDevice() 346 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice() 352 std::vector<const char*> extensions; in createTestDevice() 396 std::vector<vk::VkDeviceQueueCreateInfo> queues; in createTestDevice() 665 const std::vector<deUint32>& queueFamilyIndices, in createImage() 705 const std::vector<deUint32>& queueFamilyIndices) in createBuffer() 766 const std::vector<deUint32>& queueFamilyIndices, in importResource() 956 std [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglWideColorTests.cpp | 58 using std::string; 59 using std::vector; 582 const std::vector<Iteration>& iterations); 606 std::vector<EGLint> m_attribList; 607 std::vector<EGLint> m_testAttribList; 615 const std::vector<struct Iteration> m_iterations; 616 std::stringstream m_debugLog; 619 WideColorSurfaceTest::WideColorSurfaceTest (EglTestContext& eglTestCtx, const char* name, const char* description, const EGLint* attribList, EGLint colorSpace, const std::vector<struct Iteration>& iterations) in WideColorSurfaceTest() 792 std::string colorBufferType = de::toString(eglu::getColorBufferTypeStr(val)); in writeEglConfig() 796 std in writeEglConfig() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineFramebufferAttachmentTests.cpp | 69 using std::vector; 211 const std::vector<VkViewport> viewports { makeViewport(renderSize) }; in preparePipelineWrapper() 212 const std::vector<VkRect2D> scissors { makeRect2D(renderSize) }; in preparePipelineWrapper() 241 std::vector<VkPipelineColorBlendAttachmentState> colorBlendAttachmentStates; in preparePipelineWrapper() 322 std::ostringstream src; in initColorPrograms() 341 std::ostringstream src; in initColorPrograms() 439 deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)); in test() 678 std::ostringstream src; in initImagePrograms() 699 std::ostringstream src; in initImagePrograms() 851 deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std in testNoAtt() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLPreRotationTest.cpp | 28 using EGLPreRotationSurfaceTestParams = std::tuple<angle::PlatformParameters, bool>; 30 std::string PrintToStringParamName( in PrintToStringParamName() 33 std::stringstream ss; in PrintToStringParamName() 34 ss << std::get<0>(info.param); in PrintToStringParamName() 35 if (std::get<1>(info.param)) in PrintToStringParamName() 108 std::vector<const char *> enabledFeatures; in initializeDisplay() 109 std::vector<const char *> disabledFeatures; in initializeDisplay() 121 std::vector<EGLAttrib> displayAttributes; in initializeDisplay() 173 std::vector<EGLint> windowAttributes; in initializeSurfaceWithRGBA8888Config() 203 std in initializeSurfaceWithRGBA8888d24s8Config() [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_settings_tests.cpp | 30 std::string get_settings_location_log_message([[maybe_unused]] FrameworkEnvironment const& env, in get_settings_location_log_message() 32 std::string s = "Using layer configurations found in loader settings from "; in get_settings_location_log_message() 511 std::fstream fuzzer_output_json_file{FUZZER_OUTPUT_JSON_FILE, std::ios_base::in}; in TEST() 513 std::stringstream fuzzer_output_json; in TEST() 876 std::vector<LoaderSettingsLayerConfiguration> layer_configs{4}; in TEST() 898 std::sort(layer_configs.begin(), layer_configs.end()); in TEST() 920 } while (std::next_permutation(layer_configs.begin(), layer_configs.end())); in TEST() 1398 ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in TEST() 1402 ASSERT_FALSE(env.debug_log.find(std in TEST() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tufmtts.cpp | 116 std::cout << "locale: " << locales[locIndex] << "\n"; in testBasic() 125 std::cout << "time unit: " << j << "\n"; in testBasic() 130 std::cout << "number: " << tests[i] << "\n"; in testBasic() 142 std::cout << "format result: " << formatResult << "\n"; in testBasic() 395 std::cout << "Failed to get TimeUnitAmount for " << tunits[unitIndex] << "\n"; in testGreekWithFallback() 404 std::cout << "Failed to get TimeUnitFormat for " << locales[locIndex] << "\n"; in testGreekWithFallback() 416 std::cout << "Failed to format" << "\n"; in testGreekWithFallback() 427 std::cout << "Formatted string : " << tmp << " expected : " << tmp1 << "\n"; in testGreekWithFallback()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_shader_vs.cpp | 89 std::array<uint8_t, 4> swizzle_override = {7 ,0, 7, 7}; in do_store_output() 93 std::array<uint8_t, 4> swizzle_override = {7, 7, 7, 0}; in do_store_output() 110 std::array<uint8_t, 4> swz = {7,7,0,7}; in do_store_output() 192 std::array<uint8_t, 4> *swizzle_override) in emit_varying_pos() 203 std::copy(swizzle_override->begin(), swizzle_override->end(), swizzle.begin()); in emit_varying_pos() 312 std::vector<RegisterVec4> tmp(m_so_info->num_outputs); in emit_stream() 560 bool VertexShader::read_prop(std::istream& is) in read_prop() 566 void VertexShader::do_print_properties(std::ostream& os) const in do_print_properties()
|
/third_party/mesa3d/src/gallium/frontends/clover/nir/ |
H A D | invocation.cpp | 68 auto r_log = reinterpret_cast<std::string *>(private_data); in debug_function() 270 std::vector<binary::argument> &args; 345 clover_lower_nir(nir_shader *nir, std::vector<binary::argument> &args, 368 create_spirv_options(const device &dev, std::string &r_log) 419 nir_shader *clover::nir::load_libclc_nir(const device &dev, std::string &r_log) 437 std::string &r_log) 440 std::shared_ptr<nir_shader> nir = dev.clc_nir; 633 binary clover::nir::spirv_to_nir(const binary &mod, const device &dev, std::string &r_log)
|
/third_party/node/src/ |
H A D | node_binding.cc | 138 return std::hash<uint64_t>()(wrap->st_dev) ^ in operator ()() 139 std::hash<uint64_t>()(wrap->st_ino); in operator ()() 152 static std::unordered_set<dl_wrap*, dl_wrap::hash, dl_wrap::equal> 154 static thread_local std::string dlerror_storage; 232 static std::atomic_bool retval; // Cache the return value. in libc_may_be_musl() 233 static std::atomic_bool has_cached_retval { false }; in libc_may_be_musl() 332 std::unordered_map<void*, Entry> map_; 479 std::string errmsg = dlib->errmsg_.c_str(); in DLOpen()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | node.h | 153 void Print(std::ostream&, int depth = 1) const; 316 std::ostream& operator<<(std::ostream& os, const Node& n); 489 using iterator_category = std::forward_iterator_tag; 490 using difference_type = std::ptrdiff_t; 548 using iterator_category = std::forward_iterator_tag; 549 using difference_type = std::ptrdiff_t; 644 using iterator_category = std::forward_iterator_tag;
|
H A D | schedule.cc | 109 std::ostream& operator<<(std::ostream& os, const BasicBlock& block) { in operator <<() 128 std::ostream& operator<<(std::ostream& os, const BasicBlock::Control& c) { in operator <<() 152 std::ostream& operator<<(std::ostream& os, const BasicBlock::Id& id) { in operator <<() 463 std::ostream& operator<<(std::ostream& os, const Schedule& s) { in operator <<()
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-generator.h | 37 std::vector<FunctionLiteral*>* eager_inner_literals, 513 std::vector<FunctionLiteral*>* eager_inner_literals_; 520 ZoneVector<std::pair<FunctionLiteral*, size_t>> function_literals_; 521 ZoneVector<std::pair<NativeFunctionLiteral*, size_t>> 523 ZoneVector<std::pair<ObjectLiteralBoilerplateBuilder*, size_t>> 525 ZoneVector<std::pair<ArrayLiteralBoilerplateBuilder*, size_t>> 527 ZoneVector<std::pair<ClassLiteral*, size_t>> class_literals_; 528 ZoneVector<std::pair<GetTemplateObject*, size_t>> template_objects_;
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_enc_h264.cpp | 196 bUniformSizeSlices = bUniformSizeSlices && (std::abs(curSlice - prevSlice) <= rounding_delta); in d3d12_video_encoder_negotiate_current_h264_slices_configuration() 483 uint32_t PPicturePeriod = std::ceil(GOPLength / (double) (picture->p_remain / GOPCoeff)) - 1; in d3d12_video_encoder_update_h264_gop_configuration() 494 double log2_max_frame_num_minus4 = std::max(0.0, std::ceil(std::log2(max_max_frame_num)) - 4); in d3d12_video_encoder_update_h264_gop_configuration() 495 double log2_max_pic_order_cnt_lsb_minus4 = std::max(0.0, std::ceil(std::log2(max_pic_order_cnt_lsb)) - 4); in d3d12_video_encoder_update_h264_gop_configuration()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_bc.h | 64 sb_ostream& operator <<(const std::string& s) { in operator <<() 115 void print_wl(const std::string &s, int width) { in print_wl() 141 std::string data; 152 std::string& str() { return data; } in str() 885 typedef std::vector<cf_node*> id_cf_map; 888 typedef std::stack<region_node*> region_stack; 940 typedef std::vector<uint32_t> bc_vector; 955 std::copy(bc.begin(), bc.end(), dst); in write_data()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageAstcDecodeModeTests.cpp | 51 using std::string; 52 using std::vector; 382 const std::string& name, 394 const std::string& name, in AstcDecodeModeCase() 439 std::ostringstream src; in initPrograms() 479 std::string name; in createImageAstcDecodeModeTests() 517 std::string name; in createImageAstcDecodeModeTests() 544 std::string name = format.name + "_to_" + mode.name; in createImageAstcDecodeModeTests()
|
H A D | vktImageSizeTests.cpp | 180 const std::string& name, 199 const std::string& name, in SizeTest() 244 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_format)); in initPrograms() 245 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), (m_2DViewOf3D ? IMAGE_TYPE_2D : m_texture.type())); in initPrograms() 248 std::ostringstream accessQualifier; in initPrograms() 254 std::ostringstream src; in initPrograms() 278 std::string getCaseName (const Texture& texture, const deUint32 flags, const bool is2DViewOf3D) in getCaseName() 280 std::ostringstream str; in getCaseName()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | ProgramPipeline.cpp | 47 const std::string &ProgramPipelineState::getLabel() const in getLabel() 93 std::vector<angle::ObserverBinding> *programObserverBindings) in useProgramStages() 181 void ProgramPipeline::setLabel(const Context *context, const std::string &label) in setLabel() 186 const std::string &ProgramPipeline::getLabel() const in getLabel() 529 const std::vector<std::string> &transformFeedbackVaryingNames = in link() 618 std::string shaderInfoString = shaderProgram->getExecutable().getInfoLogString(); in validate() 653 std::string shaderInfoString = shaderProgram->getExecutable().getInfoLogString(); in validate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | StateManagerGL.h | 50 std::array<bool, 4> colorMask; 113 std::vector<TextureBindings> textureBindings; 324 void get(GLenum name, std::array<T, n> *values); 373 std::vector<gl::VertexAttribCurrentValueData> mVertexAttribCurrentValues; 396 angle::PackedEnumMap<gl::BufferBinding, std::vector<IndexedBufferBinding>> mIndexedBuffers; 415 std::vector<ImageUnitBinding> mImages; 441 // TODO(jmadill): Convert to std::array when available 442 std::vector<GLenum> mFramebuffers; 460 std::array<GLbitfield, gl::MAX_SAMPLE_MASK_WORDS> mSampleMaskValues;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | CriticalAntiDepBreaker.cpp | 218 RegRefs.insert(std::make_pair(Reg, &MO)); in PrescanInstruction() 331 RegRefs.insert(std::make_pair(Reg, &MO)); in ScanInstruction() 447 BreakAntiDependencies(const std::vector<SUnit> &SUnits, in BreakAntiDependencies() 531 std::vector<unsigned> LastNewReg(TRI->getNumRegs(), 0); in BreakAntiDependencies() 651 std::pair<std::multimap<unsigned, MachineOperand *>::iterator, in BreakAntiDependencies() 652 std::multimap<unsigned, MachineOperand *>::iterator> in BreakAntiDependencies() 665 for (std::multimap<unsigned, MachineOperand *>::iterator in BreakAntiDependencies()
|