Lines Matching refs:FromTy
2294 /// Return true if it's free to truncate a value of type FromTy to type
2297 /// Targets must return false when FromTy <= ToTy.
2298 virtual bool isTruncateFree(Type *FromTy, Type *ToTy) const {
2302 /// Return true if a truncation from FromTy to ToTy is permitted when deciding
2306 /// tail call. Targets must return false when FromTy <= ToTy.
2307 virtual bool allowTruncateForTailCall(Type *FromTy, Type *ToTy) const {
2374 /// Return true if any actual instruction that defines a value of type FromTy
2378 /// be freely folded with an instruction defining a value of FromTy. If
2383 /// Targets must return false when FromTy >= ToTy.
2384 virtual bool isZExtFree(Type *FromTy, Type *ToTy) const {
2388 virtual bool isZExtFree(EVT FromTy, EVT ToTy) const {
2392 /// Return true if sign-extension from FromTy to ToTy is cheaper than
2394 virtual bool isSExtCheaperThanZExt(EVT FromTy, EVT ToTy) const {