Home
last modified time | relevance | path

Searched refs:ValT (Results 1 – 25 of 30) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DOptions.h49 template <typename ValT, typename Base, ValT(Base::*Mem)> class OptionKey {
54 template <typename ValT, typename Base, ValT(Base::*Mem)>
55 char OptionKey<ValT, Base, Mem>::ID = 0;
95 template <typename ValT, typename Base, ValT(Base::*Mem)>
97 const ValT &InitValue) { in registerOption()
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption()
100 instance().addOption(&detail::OptionKey<ValT, Base, Mem>::ID, Option); in registerOption()
111 template <typename ValT, typename Base, ValT(Base::*Mem)> ValT get() const { in get()
112 auto It = Options.find(&detail::OptionKey<ValT, Base, Mem>::ID); in get()
114 return *(cl::opt<ValT> *)It->second; in get()
/external/llvm/include/llvm/Support/
DOptions.h49 template <typename ValT, typename Base, ValT(Base::*Mem)> class OptionKey {
54 template <typename ValT, typename Base, ValT(Base::*Mem)>
55 char OptionKey<ValT, Base, Mem>::ID = 0;
95 template <typename ValT, typename Base, ValT(Base::*Mem)>
97 const ValT &InitValue) { in registerOption()
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption()
100 instance().addOption(&detail::OptionKey<ValT, Base, Mem>::ID, Option); in registerOption()
111 template <typename ValT, typename Base, ValT(Base::*Mem)> ValT get() const { in get()
112 auto It = Options.find(&detail::OptionKey<ValT, Base, Mem>::ID); in get()
114 return *(cl::opt<ValT> *)It->second; in get()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DOptions.h49 template <typename ValT, typename Base, ValT(Base::*Mem)> class OptionKey {
54 template <typename ValT, typename Base, ValT(Base::*Mem)>
55 char OptionKey<ValT, Base, Mem>::ID = 0;
95 template <typename ValT, typename Base, ValT(Base::*Mem)>
97 const ValT &InitValue) { in registerOption()
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption()
100 instance().addOption(&detail::OptionKey<ValT, Base, Mem>::ID, Option); in registerOption()
111 template <typename ValT, typename Base, ValT(Base::*Mem)> ValT get() const { in get()
112 auto It = Options.find(&detail::OptionKey<ValT, Base, Mem>::ID); in get()
114 return *(cl::opt<ValT> *)It->second; in get()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DIntervalMap.h409 template <typename KeyT, typename ValT>
418 static_cast<unsigned>(2*sizeof(KeyT)+sizeof(ValT)),
423 typedef NodeBase<std::pair<KeyT, KeyT>, ValT, LeafSize> LeafBase;
538 template <typename KeyT, typename ValT, unsigned N, typename Traits>
539 class LeafNode : public NodeBase<std::pair<KeyT, KeyT>, ValT, N> {
543 const ValT &value(unsigned i) const { return this->second[i]; } in value()
547 ValT &value(unsigned i) { return this->second[i]; } in value()
584 ValT safeLookup(KeyT x, ValT NotFound) const { in safeLookup()
589 unsigned insertFrom(unsigned &Pos, unsigned Size, KeyT a, KeyT b, ValT y);
601 template <typename KeyT, typename ValT, unsigned N, typename Traits>
[all …]
DImmutableIntervalMap.h194 template <typename ValT>
196 : public ImmutableMap<Interval, ValT, ImutIntervalInfo<ValT> > {
198 typedef typename ImutIntervalInfo<ValT>::value_type value_type;
199 typedef typename ImutIntervalInfo<ValT>::value_type_ref value_type_ref;
200 typedef typename ImutIntervalInfo<ValT>::key_type key_type;
201 typedef typename ImutIntervalInfo<ValT>::key_type_ref key_type_ref;
202 typedef typename ImutIntervalInfo<ValT>::data_type data_type;
203 typedef typename ImutIntervalInfo<ValT>::data_type_ref data_type_ref;
204 typedef ImutAVLTree<ImutIntervalInfo<ValT> > TreeTy;
208 : ImmutableMap<Interval, ValT, ImutIntervalInfo<ValT> >(R) {} in ImmutableIntervalMap()
[all …]
DImmutableMap.h59 template <typename KeyT, typename ValT,
60 typename ValInfo = ImutKeyValueInfo<KeyT,ValT> >
264 template <typename KeyT, typename ValT,
265 typename ValInfo = ImutKeyValueInfo<KeyT,ValT> >
335 ImmutableMap<KeyT, ValT> asImmutableMap() const { in asImmutableMap()
336 return ImmutableMap<KeyT, ValT>(Factory->getCanonicalTree(Root)); in asImmutableMap()
DImmutableSet.h925 template <typename ValT, typename ValInfo = ImutContainerInfo<ValT> >
1053 friend class ImmutableSet<ValT,ValInfo>;
1091 template <typename ValT, typename ValInfo = ImutContainerInfo<ValT> >
1148 ImmutableSet<ValT> asImmutableSet(bool canonicalize = true) const {
1149 return ImmutableSet<ValT>(canonicalize ?
1179 friend class ImmutableSetRef<ValT,ValInfo>;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DIntervalMap.h435 template <typename KeyT, typename ValT>
444 static_cast<unsigned>(2*sizeof(KeyT)+sizeof(ValT)),
449 using LeafBase = NodeBase<std::pair<KeyT, KeyT>, ValT, LeafSize>;
562 template <typename KeyT, typename ValT, unsigned N, typename Traits>
563 class LeafNode : public NodeBase<std::pair<KeyT, KeyT>, ValT, N> {
567 const ValT &value(unsigned i) const { return this->second[i]; } in value()
571 ValT &value(unsigned i) { return this->second[i]; } in value()
608 ValT safeLookup(KeyT x, ValT NotFound) const { in safeLookup()
613 unsigned insertFrom(unsigned &Pos, unsigned Size, KeyT a, KeyT b, ValT y);
625 template <typename KeyT, typename ValT, unsigned N, typename Traits>
[all …]
DImmutableMap.h61 template <typename KeyT, typename ValT,
62 typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
256 template <typename KeyT, typename ValT,
257 typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
285 explicit ImmutableMapRef(const ImmutableMap<KeyT, ValT> &X, in ImmutableMapRef()
286 typename ImmutableMap<KeyT, ValT>::Factory &F) in ImmutableMapRef()
343 ImmutableMap<KeyT, ValT> asImmutableMap() const { in asImmutableMap()
344 return ImmutableMap<KeyT, ValT>(Factory->getCanonicalTree(Root)); in asImmutableMap()
DImmutableSet.h958 template <typename ValT, typename ValInfo = ImutContainerInfo<ValT>>
1110 template <typename ValT, typename ValInfo = ImutContainerInfo<ValT>>
1170 ImmutableSet<ValT> asImmutableSet(bool canonicalize = true) const {
1171 return ImmutableSet<ValT>(canonicalize ?
/external/llvm/include/llvm/ADT/
DIntervalMap.h430 template <typename KeyT, typename ValT>
439 static_cast<unsigned>(2*sizeof(KeyT)+sizeof(ValT)),
444 typedef NodeBase<std::pair<KeyT, KeyT>, ValT, LeafSize> LeafBase;
559 template <typename KeyT, typename ValT, unsigned N, typename Traits>
560 class LeafNode : public NodeBase<std::pair<KeyT, KeyT>, ValT, N> {
564 const ValT &value(unsigned i) const { return this->second[i]; } in value()
568 ValT &value(unsigned i) { return this->second[i]; } in value()
605 ValT safeLookup(KeyT x, ValT NotFound) const { in safeLookup()
610 unsigned insertFrom(unsigned &Pos, unsigned Size, KeyT a, KeyT b, ValT y);
622 template <typename KeyT, typename ValT, unsigned N, typename Traits>
[all …]
DImmutableMap.h58 template <typename KeyT, typename ValT,
59 typename ValInfo = ImutKeyValueInfo<KeyT,ValT> >
250 template <typename KeyT, typename ValT,
251 typename ValInfo = ImutKeyValueInfo<KeyT,ValT> >
279 explicit ImmutableMapRef(const ImmutableMap<KeyT, ValT> &X, in ImmutableMapRef()
280 typename ImmutableMap<KeyT, ValT>::Factory &F) in ImmutableMapRef()
337 ImmutableMap<KeyT, ValT> asImmutableMap() const { in asImmutableMap()
338 return ImmutableMap<KeyT, ValT>(Factory->getCanonicalTree(Root)); in asImmutableMap()
DImmutableSet.h957 template <typename ValT, typename ValInfo = ImutContainerInfo<ValT> >
1107 template <typename ValT, typename ValInfo = ImutContainerInfo<ValT> >
1164 ImmutableSet<ValT> asImmutableSet(bool canonicalize = true) const {
1165 return ImmutableSet<ValT>(canonicalize ?
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h29 typedef typename Traits::ValT ValT; typedef
38 ValT AvailableVal; // Value to use in this block.
46 BBInfo(BlkT *ThisBB, ValT V) in BBInfo()
51 typedef DenseMap<BlkT*, ValT> AvailableValsTy;
70 ValT GetValue(BlkT *BB) { in GetValue()
76 ValT V = Traits::GetUndefVal(BB, Updater); in GetValue()
127 ValT PredVal = AvailableVals->lookup(Pred); in BuildBlockList()
325 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals()
400 ValT IncomingVal = I.getIncomingValue(); in CheckIfPHIMatches()
440 ValT PHIVal = Traits::GetPHIValue(PHI); in RecordMatchingPHI()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h37 using ValT = typename Traits::ValT; variable
49 ValT AvailableVal;
69 BBInfo(BlkT *ThisBB, ValT V) in BBInfo()
73 using AvailableValsTy = DenseMap<BlkT *, ValT>;
94 ValT GetValue(BlkT *BB) { in GetValue()
100 ValT V = Traits::GetUndefVal(BB, Updater); in GetValue()
150 ValT PredVal = AvailableVals->lookup(Pred); in BuildBlockList()
348 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals()
418 ValT IncomingVal = I.getIncomingValue(); in CheckIfPHIMatches()
457 ValT PHIVal = Traits::GetPHIValue(PHI); in RecordMatchingPHIs()
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h40 typedef typename Traits::ValT ValT; typedef
49 ValT AvailableVal; // Value to use in this block.
57 BBInfo(BlkT *ThisBB, ValT V) in BBInfo()
62 typedef DenseMap<BlkT*, ValT> AvailableValsTy;
81 ValT GetValue(BlkT *BB) { in GetValue()
87 ValT V = Traits::GetUndefVal(BB, Updater); in GetValue()
138 ValT PredVal = AvailableVals->lookup(Pred); in BuildBlockList()
336 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals()
411 ValT IncomingVal = I.getIncomingValue(); in CheckIfPHIMatches()
450 ValT PHIVal = Traits::GetPHIValue(PHI); in RecordMatchingPHIs()
/external/llvm/include/llvm/IR/
DLLVMContext.h231 template <typename ValT, typename Base, ValT(Base::*Mem)>
232 ValT getOption() const { in getOption()
233 return OptionRegistry::instance().template get<ValT, Base, Mem>(); in getOption()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h258 template <typename ValT, typename Base, ValT(Base::*Mem)>
259 ValT getOption() const { in getOption()
260 return OptionRegistry::instance().template get<ValT, Base, Mem>(); in getOption()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DLLVMContext.h313 template <typename ValT, typename Base, ValT(Base::*Mem)>
314 ValT getOption() const { in getOption()
315 return OptionRegistry::instance().template get<ValT, Base, Mem>(); in getOption()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DCompileUnit.h22 template <typename KeyT, typename ValT>
24 IntervalMap<KeyT, ValT, IntervalMapImpl::NodeSizer<KeyT, ValT>::LeafSize,
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dscheduler-subrange-crash.ll5 …x> >::insertFrom(unsigned int &, unsigned int, KeyT, KeyT, ValT) [KeyT = llvm::SlotIndex, ValT = l…
Dunigine-liveness-crash.ll4 …x> >::insertFrom(unsigned int &, unsigned int, KeyT, KeyT, ValT) [KeyT = llvm::SlotIndex, ValT = l…
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp761 auto *ValT = cast_or_null<ConstantAsMetadata>( in copyMetadata() local
765 assert(ValT && ValF && "Invalid Operands of branch_weights"); in copyMetadata()
769 cast<ConstantInt>(ValT)->getZExtValue()); in copyMetadata()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineSSAUpdater.cpp276 typedef unsigned ValT; typedef in llvm::SSAUpdaterTraits
/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp241 typedef unsigned ValT; typedef in llvm::SSAUpdaterTraits

12