Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/CXX/temp/temp.constr/temp.constr.constr/
Dnon-function-templates.cpp14 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 …
/external/libprotobuf-mutator/src/
Dmutator.cc144 return SizeDiff(s, d) <= size_increase_hint && !IsEqual(s, d); in ForType()
164 int64_t SizeDiff(const std::unique_ptr<Message>& src, in SizeDiff() function in protobuf_mutator::__anonbdd7ecbf0111::CanCopyAndDifferentField
169 int64_t SizeDiff(const std::string& src, const std::string& dst) const { in SizeDiff() function in protobuf_mutator::__anonbdd7ecbf0111::CanCopyAndDifferentField
174 int64_t SizeDiff(const T&, const T&) const { in SizeDiff() function in protobuf_mutator::__anonbdd7ecbf0111::CanCopyAndDifferentField
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp328 int SizeDiff = RVT.getSizeInBits() - LVT.getSizeInBits(); in SoftenFloatRes_FCOPYSIGN() local
329 if (SizeDiff > 0) { in SoftenFloatRes_FCOPYSIGN()
332 DAG.getConstant(SizeDiff, dl, in SoftenFloatRes_FCOPYSIGN()
336 } else if (SizeDiff < 0) { in SoftenFloatRes_FCOPYSIGN()
340 DAG.getConstant(-SizeDiff, dl, in SoftenFloatRes_FCOPYSIGN()
1048 int SizeDiff = RSize - LSize; in SoftenFloatOp_FCOPYSIGN() local
1049 if (SizeDiff > 0) { in SoftenFloatOp_FCOPYSIGN()
1052 DAG.getConstant(SizeDiff, dl, in SoftenFloatOp_FCOPYSIGN()
1056 } else if (SizeDiff < 0) { in SoftenFloatOp_FCOPYSIGN()
1060 DAG.getConstant(-SizeDiff, dl, in SoftenFloatOp_FCOPYSIGN()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp309 int SizeDiff = RVT.getSizeInBits() - LVT.getSizeInBits(); in SoftenFloatRes_FCOPYSIGN() local
310 if (SizeDiff > 0) { in SoftenFloatRes_FCOPYSIGN()
313 DAG.getConstant(SizeDiff, dl, in SoftenFloatRes_FCOPYSIGN()
317 } else if (SizeDiff < 0) { in SoftenFloatRes_FCOPYSIGN()
321 DAG.getConstant(-SizeDiff, dl, in SoftenFloatRes_FCOPYSIGN()
1010 int SizeDiff = RSize - LSize; in SoftenFloatOp_FCOPYSIGN() local
1011 if (SizeDiff > 0) { in SoftenFloatOp_FCOPYSIGN()
1014 DAG.getConstant(SizeDiff, dl, in SoftenFloatOp_FCOPYSIGN()
1018 } else if (SizeDiff < 0) { in SoftenFloatOp_FCOPYSIGN()
1022 DAG.getConstant(-SizeDiff, dl, in SoftenFloatOp_FCOPYSIGN()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1046 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence() local
1048 Ule, ConstantInt::getNullValue(DestSize->getType()), SizeDiff); in processMemSetMemCpyDependence()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp269 int SizeDiff = RVT.getSizeInBits() - LVT.getSizeInBits(); in SoftenFloatRes_FCOPYSIGN() local
270 if (SizeDiff > 0) { in SoftenFloatRes_FCOPYSIGN()
273 DAG.getConstant(SizeDiff, dl, in SoftenFloatRes_FCOPYSIGN()
277 } else if (SizeDiff < 0) { in SoftenFloatRes_FCOPYSIGN()
281 DAG.getConstant(-SizeDiff, dl, in SoftenFloatRes_FCOPYSIGN()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1200 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence() local
1202 Ule, ConstantInt::getNullValue(DestSize->getType()), SizeDiff); in processMemSetMemCpyDependence()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1316 unsigned SizeDiff = WideTy.getSizeInBits() - DstTy.getSizeInBits(); in widenScalarUnmergeValues() local
1321 auto ShiftAmt = MIRBuilder.buildConstant(NewSrcTy, SizeDiff * I); in widenScalarUnmergeValues()
1502 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar() local
1505 {MIBNewOp, MIRBuilder.buildConstant(WideTy, SizeDiff)}); in widenScalar()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1878 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar() local
1880 WideTy, MIBNewOp, MIRBuilder.buildConstant(WideTy, SizeDiff)); in widenScalar()