Home
last modified time | relevance | path

Searched full:promote (Results 1 – 25 of 17437) sorted by relevance

12345678910>>...698

/aosp_15_r20/external/llvm/test/ThinLTO/X86/
H A Dalias_import.ll4 … llvm-lto -thinlto-action=promote -thinlto-index %t.index.bc %t2.bc -o - | llvm-dis -o - | FileChe…
5promote -thinlto-index %t.index.bc %t2.bc -o - | llvm-lto -thinlto-action=internalize -thinlto-ind…
12 ; PROMOTE-DAG: @globalfuncAlias = alias void (...), bitcast (void ()* @globalfunc to void (...)*)
13 ; PROMOTE-DAG: @globalfuncWeakAlias = weak alias void (...), bitcast (void ()* @globalfunc to void …
14 ; PROMOTE-DAG: @globalfuncLinkonceAlias = weak alias void (...), bitcast (void ()* @globalfunc to v…
15 ; PROMOTE-DAG: @globalfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @globalfunc t…
16 ; PROMOTE-DAG: @globalfuncLinkonceODRAlias = weak_odr alias void (...), bitcast (void ()* @globalfu…
17 ; PROMOTE-DAG: @internalfuncAlias = alias void (...), bitcast (void ()* @internalfunc.llvm.0 to voi…
18 ; PROMOTE-DAG: @internalfuncWeakAlias = weak alias void (...), bitcast (void ()* @internalfunc.llvm…
19 ; PROMOTE-DAG: @internalfuncLinkonceAlias = weak alias void (...), bitcast (void ()* @internalfunc.…
[all …]
/aosp_15_r20/external/llvm/test/CodeGen/AMDGPU/
H A Dindirect-private-64.ll1 ; RUN: llc -march=amdgcn -mattr=-promote-alloca,+max-private-element-size-16 -verify-machineinstrs …
2 ; RUN: llc -march=amdgcn -mattr=-promote-alloca,+max-private-element-size-4 -verify-machineinstrs <…
3 ; RUN: llc -march=amdgcn -mattr=+promote-alloca -verify-machineinstrs < %s | FileCheck -check-prefi…
4 ; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-promote-alloca,+max-private-element-size-16 -verify-ma…
5 …lc -march=amdgcn -mcpu=tonga -mattr=+promote-alloca -verify-machineinstrs < %s | FileCheck -check-…
19 ; SI-PROMOTE: ds_write_b64
20 ; SI-PROMOTE: ds_read_b64
21 ; CI-PROMOTE: ds_write_b64
22 ; CI-PROMOTE: ds_read_b64
48 ; SI-PROMOTE: ds_write_b64
[all …]
H A Damdgpu.private-memory.ll1 …lc -show-mc-encoding -mattr=+promote-alloca -verify-machineinstrs -march=amdgcn < %s | FileCheck %…
2promote-alloca -verify-machineinstrs -mtriple=amdgcn--amdhsa -mcpu=kaveri -mattr=-unaligned-buffer…
3 ; RUN: llc -show-mc-encoding -mattr=-promote-alloca -verify-machineinstrs -march=amdgcn < %s | File…
4 ; RUN: llc -show-mc-encoding -mattr=-promote-alloca -verify-machineinstrs -mtriple=amdgcn-amdhsa -m…
5promote-alloca -verify-machineinstrs -mtriple=amdgcn-amdhsa -march=amdgcn -mcpu=tonga -mattr=-unal…
6 ; RUN: llc -show-mc-encoding -mattr=-promote-alloca -verify-machineinstrs -mtriple=amdgcn-amdhsa -m…
8 ; RUN: opt -S -mtriple=amdgcn-unknown-amdhsa -mcpu=kaveri -amdgpu-promote-alloca < %s | FileCheck -…
9 ; RUN: opt -S -mtriple=amdgcn-unknown-unknown -mcpu=kaveri -amdgpu-promote-alloca < %s | FileCheck …
26 ; HSA-PROMOTE: .amd_kernel_code_t
27 ; HSA-PROMOTE: workgroup_group_segment_byte_size = 5120
[all …]
H A Damdgcn.private-memory.ll1 ; RUN: llc -mattr=+promote-alloca -verify-machineinstrs -march=amdgcn < %s | FileCheck -check-prefi…
2 …+promote-alloca,-flat-for-global -verify-machineinstrs -mtriple=amdgcn--amdhsa -mcpu=kaveri < %s |…
3 ; RUN: llc -mattr=-promote-alloca -verify-machineinstrs -march=amdgcn < %s | FileCheck -check-prefi…
4 ; RUN: llc -mattr=-promote-alloca,-flat-for-global -verify-machineinstrs -mtriple=amdgcn-amdhsa -mc…
5 …N: llc -mattr=+promote-alloca -verify-machineinstrs -march=amdgcn -mcpu=tonga < %s | FileCheck -ch…
6 ; RUN: llc -mattr=-promote-alloca -verify-machineinstrs -march=amdgcn -mcpu=tonga < %s | FileCheck …
/aosp_15_r20/external/pytorch/aten/src/ATen/
H A Dautocast_mode.cpp196 // norm does not implicitly promote, but be aware when adding new ops to this policy. in TORCH_LIBRARY_IMPL()
200 // promote in TORCH_LIBRARY_IMPL()
201 #define _KERNEL_CUDA_PROMOTE(...) KERNEL_CUDA(__VA_ARGS__, promote) in TORCH_LIBRARY_IMPL()
308 // promote in TORCH_LIBRARY_IMPL()
309 KERNEL_MPS(addcdiv, promote) in TORCH_LIBRARY_IMPL()
310 KERNEL_MPS(addcmul, promote) in TORCH_LIBRARY_IMPL()
311 KERNEL_MPS(atan2, promote) in TORCH_LIBRARY_IMPL()
312 KERNEL_MPS(bilinear, promote) in TORCH_LIBRARY_IMPL()
313 KERNEL_MPS(cross, promote) in TORCH_LIBRARY_IMPL()
314 KERNEL_MPS(dot, promote) in TORCH_LIBRARY_IMPL()
[all …]
/aosp_15_r20/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp89 auto pHwCamera = hwCamera.promote(); in shutdown()
126 auto ptr = cam.promote(); in getHalCameras()
267 auto halCamera = mHalCamera.begin()->second.promote(); in getCameraInfo()
284 auto pHwCam = hwCamera.promote(); in setMaxFramesInFlight()
346 auto pHwCamera = iter->second.promote(); in startVideoStream()
373 auto ptr = rb->second.promote(); in startVideoStream()
384 auto pHwCamera = mHalCamera.begin()->second.promote(); in startVideoStream()
394 auto pHwCamera = hwCamera.promote(); in startVideoStream()
431 auto pHwCamera = hwCamera.promote(); in startVideoStream()
494 auto pHwCamera = mHalCamera.begin()->second.promote(); in doneWithFrame()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/numerics/complex.number/cmplx.over/
H A Dpow.pass.cpp12 // complex<promote<T, U>::type>
16 // complex<promote<T, U>::type>
20 // complex<promote<T, U>::type>
32 promote(T, typename std::enable_if<std::is_integral<T>::value>::type* = 0);
34 float promote(float);
35 double promote(double);
36 long double promote(long double);
42 typedef decltype(promote(x)+promote(real(y))) V; in test()
51 typedef decltype(promote(real(x))+promote(y)) V; in test()
60 typedef decltype(promote(real(x))+promote(real(y))) V; in test()
/aosp_15_r20/external/libcxx/test/std/numerics/complex.number/cmplx.over/
H A Dpow.pass.cpp13 // complex<promote<T, U>::type>
17 // complex<promote<T, U>::type>
21 // complex<promote<T, U>::type>
32 promote(T, typename std::enable_if<std::is_integral<T>::value>::type* = 0);
34 float promote(float);
35 double promote(double);
36 long double promote(long double);
42 typedef decltype(promote(x)+promote(real(y))) V; in test()
51 typedef decltype(promote(real(x))+promote(y)) V; in test()
60 typedef decltype(promote(real(x))+promote(real(y))) V; in test()
/aosp_15_r20/external/clang/test/SemaTemplate/
H A Dnested-name-spec-template.cpp7 template<typename T> struct Promote;
9 template<> struct Promote<short> { struct
13 template<> struct Promote<int> { struct
17 template<> struct Promote<float> { struct
21 Promote<short>::type *ret_intptr(int* ip) { return ip; } in ret_intptr()
22 Promote<int>::type *ret_intptr2(int* ip) { return ip; } in ret_intptr2()
25 M::Promote<int>::type *ret_intptr3(int* ip) { return ip; } in ret_intptr3()
26 M::template Promote<int>::type *ret_intptr4(int* ip) { return ip; } in ret_intptr4()
31 M::template Promote<int> pi;
37 N::M::Promote<int>::type *ret_intptr5(int* ip) { return ip; } in ret_intptr5() argument
[all …]
/aosp_15_r20/external/ComputeLibrary/tests/
H A DUtils.h106 /** Promote a type */
107 template <typename T> struct promote { }; struct
108 /** Promote uint8_t to uint16_t */
109 template <> struct promote<uint8_t> { using type = uint16_t; /**< Promoted type */ };
110 /** Promote int8_t to int16_t */
111 template <> struct promote<int8_t> { using type = int16_t; /**< Promoted type */ };
112 /** Promote uint16_t to uint32_t */
113 template <> struct promote<uint16_t> { using type = uint32_t; /**< Promoted type */ };
114 /** Promote int16_t to int32_t */
115 template <> struct promote<int16_t> { using type = int32_t; /**< Promoted type */ };
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1 //===-- AMDGPUPromoteAlloca.cpp - Promote Allocas -------------------------===//
27 #define DEBUG_TYPE "amdgpu-promote-alloca"
34 "disable-promote-alloca-to-vector",
35 cl::desc("Disable promote alloca to vector"),
39 "disable-promote-alloca-to-lds",
40 cl::desc("Disable promote alloca to LDS"),
44 "amdgpu-promote-alloca-to-vector-limit",
45 cl::desc("Maximum byte size to consider promote alloca to vector"),
57 StringRef getPassName() const override { return "AMDGPU Promote Alloca"; } in getPassName()
117 return "AMDGPU Promote Alloca to vector"; in getPassName()
[all …]
/aosp_15_r20/external/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp1 //=- AArch64PromoteConstant.cpp --- Promote constant to global for AArch64 -==//
45 #define DEBUG_TYPE "aarch64-promote-const"
48 static cl::opt<bool> Stress("aarch64-stress-promote-const", cl::Hidden,
49 cl::desc("Promote all vector constants"));
106 const char *getPassName() const override { return "AArch64 Promote Constant"; } in getPassName()
108 /// Iterate over the functions and promote the interesting constants into
124 /// Promote them into global variables, load these global variables within
221 INITIALIZE_PASS_BEGIN(AArch64PromoteConstant, "aarch64-promote-const",
222 "AArch64 Promote Constant Pass", false, false)
224 INITIALIZE_PASS_END(AArch64PromoteConstant, "aarch64-promote-const", in INITIALIZE_PASS_DEPENDENCY()
[all …]
/aosp_15_r20/frameworks/native/libs/gui/
H A DBufferQueue.cpp35 sp<ConsumerListener> listener(mConsumerListener.promote()); in onDisconnect()
42 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameDequeued()
49 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameCancelled()
56 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameDetached()
64 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameAvailable()
72 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameReplaced()
79 sp<ConsumerListener> listener(mConsumerListener.promote()); in onBuffersReleased()
86 sp<ConsumerListener> listener(mConsumerListener.promote()); in onSidebandStreamChanged()
95 sp<ConsumerListener> listener(mConsumerListener.promote()); in addAndGetFrameTimestamps()
104 sp<ConsumerListener> listener(mConsumerListener.promote()); in onSetFrameRate()
/aosp_15_r20/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamMMAP.cpp70 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in open()
123 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in standby_l()
136 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in exitStandby_l()
157 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in startClient()
174 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in stopClient()
187 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in startClient_l()
198 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in stopClient_l()
210 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getFreeRunningPosition_l()
234 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getHardwareTimestamp_l()
267 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getAudioDataDescription_l()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp152 "Use PGO instrumentation profile to promote indirect "
157 "Use PGO instrumentation profile to promote indirect " in INITIALIZE_PASS_DEPENDENCY()
168 // The class for main data structure to promote indirect calls to conditional
200 // Promote a list of targets for one indirect-call callsite. Return
243 LLVM_DEBUG(dbgs() << " Not promote: User options.\n"); in getPromotionCandidatesForCallSite()
246 << " Not promote: User options"; in getPromotionCandidatesForCallSite()
251 LLVM_DEBUG(dbgs() << " Not promote: User option.\n"); in getPromotionCandidatesForCallSite()
254 << " Not promote: User options"; in getPromotionCandidatesForCallSite()
259 LLVM_DEBUG(dbgs() << " Not promote: Cutoff reached.\n"); in getPromotionCandidatesForCallSite()
262 << " Not promote: Cutoff reached"; in getPromotionCandidatesForCallSite()
[all …]
/aosp_15_r20/external/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp1 //===-- IndirectCallPromotion.cpp - Promote indirect calls to direct calls ===//
120 "Use PGO instrumentation profile to promote indirect calls to "
129 // The class for main data structure to promote indirect calls to conditional
141 OK, // Should be able to promote.
148 // Test if we can legally promote this direct-call of Target.
178 void promote(Instruction *Inst, Function *F, uint64_t Count,
181 // Promote a list of targets for one indirect-call callsite. Return
190 return "OK to promote"; in StatusToString()
248 DEBUG(dbgs() << " #" << NumOfPGOICallPromotion << " Promote the icall to " in isPromotionLegal()
279 DEBUG(dbgs() << " Not promote: User options.\n"); in getPromotionCandidatesForCallSite()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp1 //==- AArch64PromoteConstant.cpp - Promote constant to global for AArch64 --==//
53 #define DEBUG_TYPE "aarch64-promote-const"
56 static cl::opt<bool> Stress("aarch64-stress-promote-const", cl::Hidden,
57 cl::desc("Promote all vector constants"));
117 StringRef getPassName() const override { return "AArch64 Promote Constant"; } in getPassName()
119 /// Iterate over the functions and promote the interesting constants into
135 /// Promote them into global variables, load these global variables within
229 INITIALIZE_PASS_BEGIN(AArch64PromoteConstant, "aarch64-promote-const",
230 "AArch64 Promote Constant Pass", false, false)
232 INITIALIZE_PASS_END(AArch64PromoteConstant, "aarch64-promote-const", in INITIALIZE_PASS_DEPENDENCY()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp1 //==- AArch64PromoteConstant.cpp - Promote constant to global for AArch64 --==//
53 #define DEBUG_TYPE "aarch64-promote-const"
56 static cl::opt<bool> Stress("aarch64-stress-promote-const", cl::Hidden,
57 cl::desc("Promote all vector constants"));
117 StringRef getPassName() const override { return "AArch64 Promote Constant"; } in getPassName()
119 /// Iterate over the functions and promote the interesting constants into
135 /// Promote them into global variables, load these global variables within
229 INITIALIZE_PASS_BEGIN(AArch64PromoteConstant, "aarch64-promote-const",
230 "AArch64 Promote Constant Pass", false, false)
232 INITIALIZE_PASS_END(AArch64PromoteConstant, "aarch64-promote-const", in INITIALIZE_PASS_DEPENDENCY()
[all …]
/aosp_15_r20/frameworks/av/services/audioflinger/sounddose/
H A DSoundDoseManager.cpp67 auto processor = streamProcessor->second.promote(); in getOrCreateProcessorForDevice()
173 const sp<audio_utils::MelProcessor> processor = streamProcessor.second.promote(); in setOutputRs2UpperBound()
273 soundDoseManager = mSoundDoseManager.promote(); in onMomentaryExposureWarning()
306 soundDoseManager = mSoundDoseManager.promote(); in onNewMelValues()
335 auto soundDoseManager = mSoundDoseManager.promote(); in binderDied()
343 auto soundDoseManager = mSoundDoseManager.promote(); in setOutputRs2UpperBound()
353 auto soundDoseManager = mSoundDoseManager.promote(); in resetCsd()
362 auto soundDoseManager = mSoundDoseManager.promote(); in updateAttenuation()
371 auto soundDoseManager = mSoundDoseManager.promote(); in setCsdEnabled()
381 auto soundDoseManager = mSoundDoseManager.promote(); in initCachedAudioDeviceCategories()
[all …]
/aosp_15_r20/frameworks/native/services/surfaceflinger/tests/unittests/
H A DSurfaceFlinger_DisplayModeSwitching.cpp211 mFlinger.setDesiredDisplayModeSpecs(mDisplay->getDisplayToken().promote(), in TEST_F()
243 mDisplay->getDisplayToken().promote(), in TEST_F()
268 mFlinger.setDesiredDisplayModeSpecs(innerDisplay->getDisplayToken().promote(), in TEST_F()
272 mFlinger.setDesiredDisplayModeSpecs(outerDisplay->getDisplayToken().promote(), in TEST_F()
300 mFlinger.setDesiredDisplayModeSpecs(mDisplay->getDisplayToken().promote(), in TEST_F()
309 mFlinger.setDesiredDisplayModeSpecs(mDisplay->getDisplayToken().promote(), in TEST_F()
330 mFlinger.setDesiredDisplayModeSpecs(mDisplay->getDisplayToken().promote(), in TEST_F()
379 mFlinger.setDesiredDisplayModeSpecs(innerDisplay->getDisplayToken().promote(), in TEST_F()
383 mFlinger.setDesiredDisplayModeSpecs(outerDisplay->getDisplayToken().promote(), in TEST_F()
410 mFlinger.setDesiredDisplayModeSpecs(innerDisplay->getDisplayToken().promote(), in TEST_F()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp107 // The class for main data structure to promote indirect calls to conditional
139 // Promote a list of targets for one indirect-call callsite. Return
183 LLVM_DEBUG(dbgs() << " Not promote: User options.\n"); in getPromotionCandidatesForCallSite()
186 << " Not promote: User options"; in getPromotionCandidatesForCallSite()
191 LLVM_DEBUG(dbgs() << " Not promote: User option.\n"); in getPromotionCandidatesForCallSite()
194 << " Not promote: User options"; in getPromotionCandidatesForCallSite()
199 LLVM_DEBUG(dbgs() << " Not promote: Cutoff reached.\n"); in getPromotionCandidatesForCallSite()
202 << " Not promote: Cutoff reached"; in getPromotionCandidatesForCallSite()
207 // Don't promote if the symbol is not defined in the module. This avoids in getPromotionCandidatesForCallSite()
216 LLVM_DEBUG(dbgs() << " Not promote: Cannot find the target\n"); in getPromotionCandidatesForCallSite()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/type_traits/doc/
Dpromote.qbk8 [section:promote promote]
11 struct promote
16 template <class T> using promote_t = typename promote<T>::type; // C++11 and above
27 __header ` #include <boost/type_traits/promote.hpp>` or ` #include <boost/type_traits.hpp>`
33 [[`promote<short volatile>::type`][`int volatile`]]
35 [[`promote<float const>::type`][`double const`]]
37 [[`promote<short&>::type`][`short&`]]
/aosp_15_r20/external/ComputeLibrary/src/core/NEON/wrapper/
H A Dtraits.h134 /** Promote a type */
135 template <typename T> struct promote { };
136 template <> struct promote<uint8_t> { using type = uint16_t; };
137 template <> struct promote<int8_t> { using type = int16_t; };
138 template <> struct promote<uint16_t> { using type = uint32_t; };
139 template <> struct promote<int16_t> { using type = int32_t; };
140 template <> struct promote<uint32_t> { using type = uint64_t; };
141 template <> struct promote<int32_t> { using type = int64_t; };
142 template <> struct promote<float> { using type = float; };
143 template <> struct promote<half> { using type = half; };
[all …]
/aosp_15_r20/external/pytorch/scripts/release/
H A DREADME.md16 ## Promote section in PyTorch Release Scripts
19 can actually be used to promote pytorch, libtorch, and related domain libraries.
24 if you are running from the correct git tags. (i.e. the GA tag to promote is currently
27 `PACKAGE_TYPE` and `PACKAGE_NAME` can be swapped out to promote other packages.
31 promote/s3_to_s3.sh
36 PACKAGE_TYPE=libtorch PACKAGE_NAME=libtorch promote/s3_to_s3.sh
41 promote/conda_to_conda.sh
47 promote/wheel_to_pypi.sh
/aosp_15_r20/frameworks/av/media/module/foundation/tests/
H A DAData_test.cpp737 EXPECT_NE(nullptr, _weak.promote().get()); // u still holds object in TEST_F()
749 EXPECT_NE(nullptr, _weak.promote().get()); // u still holds object in TEST_F()
780 EXPECT_EQ(NULL, _weak.promote().get()); // original _shared is now lost in TEST_F()
797 EXPECT_EQ(_weak.promote(), _shared); in TEST_F()
802 EXPECT_EQ(_weak.promote(), _shared); in TEST_F()
850 EXPECT_NE(nullptr, _weak.promote().get()); // u still holds object in TEST_F()
861 EXPECT_NE(nullptr, _weak.promote().get()); // u still holds object in TEST_F()
893 EXPECT_EQ(NULL, _weak.promote().get()); // original _shared is now lost in TEST_F()
941 EXPECT_EQ(_weak.promote(), _shared); in TEST_F()
946 EXPECT_EQ(_weak.promote(), _shared); in TEST_F()
[all …]

12345678910>>...698