Home
last modified time | relevance | path

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

/src/contrib/llvm-project/compiler-rt/lib/orc/
H A Dinterval_map.h29 template <typename KeyT, typename ValT> class IntervalMapBase {
46 using ImplMap = std::map<KeyPairT, ValT, Compare>;
78 return const_cast<IntervalMapBase<KeyT, ValT> *>(this)->find(K); in find()
81 ValT lookup(KeyT K, ValT NotFound = ValT()) const {
125 template <typename KeyT, typename ValT, IntervalCoalescing Coalescing>
128 template <typename KeyT, typename ValT>
129 class IntervalMap<KeyT, ValT, IntervalCoalescing::Enabled>
130 : public IntervalMapBase<KeyT, ValT> {
133 void insert(KeyT KS, KeyT KE, ValT V) { in insert()
156 template <typename KeyT, typename ValT>
[all …]
/src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntervalMap.h438 template <typename KeyT, typename ValT>
447 static_cast<unsigned>(2*sizeof(KeyT)+sizeof(ValT)),
452 using LeafBase = NodeBase<std::pair<KeyT, KeyT>, ValT, LeafSize>;
565 template <typename KeyT, typename ValT, unsigned N, typename Traits>
566 class LeafNode : public NodeBase<std::pair<KeyT, KeyT>, ValT, N> {
570 const ValT &value(unsigned i) const { return this->second[i]; } in value()
574 ValT &value(unsigned i) { return this->second[i]; } in value()
611 ValT safeLookup(KeyT x, ValT NotFound) const { in safeLookup()
616 unsigned insertFrom(unsigned &Pos, unsigned Size, KeyT a, KeyT b, ValT y);
628 template <typename KeyT, typename ValT, unsigned N, typename Traits>
[all …]
H A DImmutableMap.h61 template <typename KeyT, typename ValT,
62 typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
201 template <typename KeyT, typename ValT,
202 typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
226 ImmutableMapRef(const ImmutableMap<KeyT, ValT> &X, in ImmutableMapRef()
227 typename ImmutableMap<KeyT, ValT>::Factory &F) in ImmutableMapRef()
257 ImmutableMap<KeyT, ValT> asImmutableMap() const { in asImmutableMap()
258 return ImmutableMap<KeyT, ValT>(Factory->getCanonicalTree(Root.get())); in asImmutableMap()
H A DImmutableSet.h956 template <typename ValT, typename ValInfo = ImutContainerInfo<ValT>>
1082 template <typename ValT, typename ValInfo = ImutContainerInfo<ValT>>
1118 ImmutableSet<ValT> asImmutableSet(bool canonicalize = true) const {
1119 return ImmutableSet<ValT>(
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h36 using ValT = typename Traits::ValT; variable
48 ValT AvailableVal;
68 BBInfo(BlkT *ThisBB, ValT V) in BBInfo()
72 using AvailableValsTy = DenseMap<BlkT *, ValT>;
93 ValT GetValue(BlkT *BB) { in GetValue()
99 ValT V = Traits::GetPoisonVal(BB, Updater); in GetValue()
149 ValT PredVal = AvailableVals->lookup(Pred); in BuildBlockList()
332 ValT Singular = Info->Preds[0]->DefBB->AvailableVal; in FindSingularVal()
336 ValT PredVal = Info->Preds[Idx]->DefBB->AvailableVal; in FindSingularVal()
373 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DBCD.h45 template <typename ResultT, typename ValT>
46 inline ResultT decodePackedBCD(const ValT Val, bool IsSigned = true) {
48 reinterpret_cast<const uint8_t *>(&Val), sizeof(ValT), IsSigned));
/src/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h169 template <typename ValT> static Integral from(ValT Value) {
170 if constexpr (std::is_integral<ValT>::value)
H A DInterpBuiltin.cpp833 PrimType ValT = *S.getContext().classify(Call->getArg(0)); in interp__builtin_clz() local
834 const APSInt &Val = peekToAPSInt(S.Stk, ValT, CallSize); in interp__builtin_clz()
864 PrimType ValT = *S.getContext().classify(Call->getArg(0)); in interp__builtin_ctz() local
865 const APSInt &Val = peekToAPSInt(S.Stk, ValT, CallSize); in interp__builtin_ctz()
887 PrimType ValT = *S.getContext().classify(Call->getArg(0)); in interp__builtin_bswap() local
888 const APSInt &Val = peekToAPSInt(S.Stk, ValT); in interp__builtin_bswap()
905 PrimType ValT = *S.getContext().classify(Call->getArg(0)); in interp__builtin_atomic_lock_free() local
908 SizeValOffset = align(primSize(ValT)) + align(primSize(PT_Ptr)); in interp__builtin_atomic_lock_free()
909 const APSInt &SizeVal = peekToAPSInt(S.Stk, ValT, SizeValOffset); in interp__builtin_atomic_lock_free()
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSSAUpdater.cpp266 using ValT = Register; typedef in llvm::SSAUpdaterTraits
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp266 using ValT = Value *; typedef in llvm::SSAUpdaterTraits
/src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DCore.h230 template <typename ValT>
232 fromMapKeys(const DenseMap<SymbolStringPtr, ValT> &M,
/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp597 template <typename ValT>
598 static void finishCallSiteParams(ValT Val, const DIExpression *Expr, in finishCallSiteParams()
/src/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp4007 using ValT = BlockValueNum; typedef in llvm::SSAUpdaterTraits
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp6124 SDValue Src2, MVT ValT) -> SDValue { in lowerLaneOp() argument
6157 return DAG.getNode(ISD::INTRINSIC_WO_CHAIN, SL, ValT, Operands); in lowerLaneOp()