Home
last modified time | relevance | path

Searched refs:InitTy (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h134 template <typename... InitTy>
135 StringMapEntry(unsigned strLen, InitTy &&... InitVals) in StringMapEntry()
136 : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {} in StringMapEntry()
157 template <typename AllocatorTy, typename... InitTy>
159 InitTy &&... InitVals) { in Create()
172 new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...); in Create()
/external/llvm/include/llvm/ADT/
DStringMap.h129 template <typename... InitTy>
130 StringMapEntry(unsigned strLen, InitTy &&... InitVals) in StringMapEntry()
131 : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {} in StringMapEntry()
151 template <typename AllocatorTy, typename... InitTy>
153 InitTy &&... InitVals) { in Create()
166 new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...); in Create()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringMap.h132 template <typename... InitTy>
133 StringMapEntry(size_t strLen, InitTy &&... InitVals) in StringMapEntry()
134 : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {} in StringMapEntry()
155 template <typename AllocatorTy, typename... InitTy>
157 InitTy &&... InitVals) { in Create()
170 new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...); in Create()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringMap.h35 template <typename InitTy>
36 static void Initialize(StringMapEntry<ValueTy> &T, InitTy InitVal) { in Initialize()
357 template <typename InitTy>
358 MapEntryTy &GetOrCreateValue(StringRef Key, InitTy Val) { in GetOrCreateValue()
/external/swiftshader/third_party/LLVM/unittests/ADT/
DStringMapTest.cpp177 template <typename InitTy>
178 static void Initialize(StringMapEntry<uint32_t> &T, InitTy InitVal) { in Initialize()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp2223 SequentialType *InitTy = cast<SequentialType>(Init->getType()); in EvaluateStoreInto() local
2226 if (ArrayType *ATy = dyn_cast<ArrayType>(InitTy)) in EvaluateStoreInto()
2229 NumElts = cast<VectorType>(InitTy)->getNumElements(); in EvaluateStoreInto()
2239 Elts.assign(NumElts, Constant::getNullValue(InitTy->getElementType())); in EvaluateStoreInto()
2243 Elts.assign(NumElts, UndefValue::get(InitTy->getElementType())); in EvaluateStoreInto()
2251 return ConstantArray::get(cast<ArrayType>(InitTy), Elts); in EvaluateStoreInto()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp765 Type *InitTy = Init->getType(); in LowerConstantInitializer() local
768 EVT VT = EVT::getEVT(InitTy); in LowerConstantInitializer()
769 PointerType *PtrTy = PointerType::get(InitTy, AMDGPUAS::PRIVATE_ADDRESS); in LowerConstantInitializer()
772 false, TD.getPrefTypeAlignment(InitTy)); in LowerConstantInitializer()
783 if (StructType *ST = dyn_cast<StructType>(InitTy)) { in LowerConstantInitializer()
800 if (SequentialType *SeqTy = dyn_cast<SequentialType>(InitTy)) { in LowerConstantInitializer()
825 EVT VT = EVT::getEVT(InitTy); in LowerConstantInitializer()
826 PointerType *PtrTy = PointerType::get(InitTy, AMDGPUAS::PRIVATE_ADDRESS); in LowerConstantInitializer()
829 false, TD.getPrefTypeAlignment(InitTy)); in LowerConstantInitializer()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2125 SequentialType *InitTy = cast<SequentialType>(Init->getType()); in EvaluateStoreInto() local
2128 if (ArrayType *ATy = dyn_cast<ArrayType>(InitTy)) in EvaluateStoreInto()
2131 NumElts = InitTy->getVectorNumElements(); in EvaluateStoreInto()
2142 return ConstantArray::get(cast<ArrayType>(InitTy), Elts); in EvaluateStoreInto()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2370 SequentialType *InitTy = cast<SequentialType>(Init->getType()); in EvaluateStoreInto() local
2371 uint64_t NumElts = InitTy->getNumElements(); in EvaluateStoreInto()
2382 return ConstantArray::get(cast<ArrayType>(InitTy), Elts); in EvaluateStoreInto()