Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCasting.h118 template<typename To, typename FromTy>
119 struct isa_impl_wrap<To, FromTy, FromTy> {
121 static bool doit(const FromTy &Val) {
122 return isa_impl_cl<To,FromTy>::doit(Val);
173 template<class To, class FromTy>
174 struct cast_retty_wrap<To, FromTy, FromTy> {
176 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
197 template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> {
199 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
200 typename cast_retty<To, FromTy>::ret_type Res2
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCasting.h128 template<typename To, typename FromTy>
129 struct isa_impl_wrap<To, FromTy, FromTy> {
131 static bool doit(const FromTy &Val) {
132 return isa_impl_cl<To,FromTy>::doit(Val);
201 template<class To, class FromTy>
202 struct cast_retty_wrap<To, FromTy, FromTy> {
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
225 template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> {
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMRegisterBankInfo.cpp315 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local
316 if (ToTy.getSizeInBits() == 64 && FromTy.getSizeInBits() == 32) in getInstrMapping()
324 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local
325 if (ToTy.getSizeInBits() == 32 && FromTy.getSizeInBits() == 64) in getInstrMapping()
334 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local
335 if ((FromTy.getSizeInBits() == 32 || FromTy.getSizeInBits() == 64) && in getInstrMapping()
338 FromTy.getSizeInBits() == 64 in getInstrMapping()
348 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local
349 if (FromTy.getSizeInBits() == 32 && in getInstrMapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp1822 static bool isBitCastSemanticsPreserving(const DataLayout &DL, Type *FromTy, in isBitCastSemanticsPreserving() argument
1825 if (FromTy == ToTy) in isBitCastSemanticsPreserving()
1829 if (FromTy->isIntOrPtrTy() && ToTy->isIntOrPtrTy()) { in isBitCastSemanticsPreserving()
1830 bool SameSize = DL.getTypeSizeInBits(FromTy) == DL.getTypeSizeInBits(ToTy); in isBitCastSemanticsPreserving()
1831 bool LosslessConversion = !DL.isNonIntegralPointerType(FromTy) && in isBitCastSemanticsPreserving()
1848 Type *FromTy = From.getType(); in replaceAllDbgUsesWith() local
1858 if (isBitCastSemanticsPreserving(DL, FromTy, ToTy)) in replaceAllDbgUsesWith()
1863 if (FromTy->isIntegerTy() && ToTy->isIntegerTy()) { in replaceAllDbgUsesWith()
1864 uint64_t FromBits = FromTy->getPrimitiveSizeInBits(); in replaceAllDbgUsesWith()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h2298 virtual bool isTruncateFree(Type *FromTy, Type *ToTy) const { in isTruncateFree() argument
2307 virtual bool allowTruncateForTailCall(Type *FromTy, Type *ToTy) const { in allowTruncateForTailCall() argument
2384 virtual bool isZExtFree(Type *FromTy, Type *ToTy) const { in isZExtFree() argument
2388 virtual bool isZExtFree(EVT FromTy, EVT ToTy) const { in isZExtFree() argument
2394 virtual bool isSExtCheaperThanZExt(EVT FromTy, EVT ToTy) const { in isSExtCheaperThanZExt() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp795 const DIType *FromTy = DTy->getBaseType(); in constructTypeDIE() local
796 if (FromTy) in constructTypeDIE()
797 addType(Buffer, FromTy); in constructTypeDIE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h202 DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp268 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) { in createQualifiedType() argument
269 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, FromTy, 0, in createQualifiedType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp64 auto setPromoteTo = [this] (unsigned Opc, MVT FromTy, MVT ToTy) { in initializeHVXLowering() argument
65 setOperationAction(Opc, FromTy, Promote); in initializeHVXLowering()
66 AddPromotedToType(Opc, FromTy, ToTy); in initializeHVXLowering()