Searched refs:SizeDiff (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.constr/temp.constr.constr/ |
| H A D | non-function-templates.cpp | 14 constexpr int SizeDiff = sizeof(T) > sizeof(U) ? sizeof(T) - sizeof(U) : sizeof(U) - sizeof(T); 16 static_assert(SizeDiff<int, char> == 3); 17 static_assert(SizeDiff<int, char[4]> == 0); // expected-error{{constraints not satisfied for variab… 18 static_assert(SizeDiff<char, int> == 3); // expected-error{{constraints not satisfied for variable …
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeFloatTypes.cpp | 344 if (SizeDiff > 0) { in SoftenFloatRes_FCOPYSIGN() 347 DAG.getConstant(SizeDiff, dl, in SoftenFloatRes_FCOPYSIGN() 351 } else if (SizeDiff < 0) { in SoftenFloatRes_FCOPYSIGN() 355 DAG.getConstant(-SizeDiff, dl, in SoftenFloatRes_FCOPYSIGN() 1096 int SizeDiff = RSize - LSize; in SoftenFloatOp_FCOPYSIGN() local 1097 if (SizeDiff > 0) { in SoftenFloatOp_FCOPYSIGN() 1100 DAG.getConstant(SizeDiff, dl, in SoftenFloatOp_FCOPYSIGN() 1104 } else if (SizeDiff < 0) { in SoftenFloatOp_FCOPYSIGN() 1108 DAG.getConstant(-SizeDiff, dl, in SoftenFloatOp_FCOPYSIGN() 2720 if (SizeDiff > 0) { in SoftPromoteHalfRes_FCOPYSIGN() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 1263 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence() local 1265 Ule, ConstantInt::getNullValue(DestSize->getType()), SizeDiff); in processMemSetMemCpyDependence()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 2134 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar() local 2136 WideTy, MIBNewOp, MIRBuilder.buildConstant(WideTy, SizeDiff)); in widenScalar()
|