Home
last modified time | relevance | path

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

/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/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/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h39 typedef typename Traits::ValT ValT; typedef
48 ValT AvailableVal; // Value to use in this block.
56 BBInfo(BlkT *ThisBB, ValT V) in BBInfo()
61 typedef DenseMap<BlkT*, ValT> AvailableValsTy;
80 ValT GetValue(BlkT *BB) { in GetValue()
86 ValT V = Traits::GetUndefVal(BB, Updater); in GetValue()
137 ValT PredVal = AvailableVals->lookup(Pred); in BuildBlockList()
335 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals()
410 ValT IncomingVal = I.getIncomingValue(); in CheckIfPHIMatches()
449 ValT PHIVal = Traits::GetPHIValue(PHI); in RecordMatchingPHIs()
/external/llvm/include/llvm/IR/
DLLVMContext.h196 template <typename ValT, typename Base, ValT(Base::*Mem)>
197 ValT getOption() const { in getOption()
198 return OptionRegistry::instance().template get<ValT, Base, Mem>(); in getOption()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp704 auto *ValT = cast_or_null<ConstantAsMetadata>( in copyMetadata() local
708 assert(ValT && ValF && "Invalid Operands of branch_weights"); in copyMetadata()
712 cast<ConstantInt>(ValT)->getZExtValue()); in copyMetadata()
/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp242 typedef unsigned ValT; typedef in llvm::SSAUpdaterTraits
/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp212 typedef Value *ValT; typedef in llvm::SSAUpdaterTraits
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp49 template <typename KeyT, typename ValT>
51 IntervalMap<KeyT, ValT, IntervalMapImpl::NodeSizer<KeyT, ValT>::LeafSize,