Home
last modified time | relevance | path

Searched refs:toInt (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dobjc-container-subscripting.mm67 ConvertibleTo<int> toInt,
77 return array[toInt];
84 ConvertibleTo<int> toInt,
H A Dliterals.mm88 ConvertibleTo<int> toInt,
94toInt // expected-error{{collection element of type 'ConvertibleTo<int>' is not an Objective-C obj…
/llvm-project-15.0.7/flang/include/flang/Optimizer/Support/
H A DUtils.h23 inline std::int64_t toInt(mlir::arith::ConstantOp cop) { in toInt() function
/llvm-project-15.0.7/llvm/lib/LTO/
H A DSummaryBasedOptimizations.cpp72 SaturatingAdd(F->entryCount(), New.template toInt<uint64_t>())); in computeSyntheticCounts()
/llvm-project-15.0.7/flang/include/flang/Lower/Support/
H A DUtils.h40 inline std::int64_t toInt(mlir::arith::ConstantOp cop) { in toInt() function
/llvm-project-15.0.7/clang/test/ASTMerge/interface/Inputs/
H A Dinterface1.m104 -(int)addInt:(int)a toInt:(int)b moduloInt:(int)c; // don't crash here
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp135 Entry.second.template toInt<uint64_t>(), Function::PCT_Synthetic)); in run()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp418 Real toInt{quotient.AccumulateFlags(result.flags) in MOD() local
421 Real product{toInt.Multiply(y, rounding).AccumulateFlags(result.flags)}; in MOD()
441 Real toInt{quotient.AccumulateFlags(result.flags) in MODULO() local
444 Real product{toInt.Multiply(y, rounding).AccumulateFlags(result.flags)}; in MODULO()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DScaledNumber.h540 template <class IntT> IntT toInt() const;
772 return (get(N) * *this).template toInt<uint64_t>(); in scale()
780 IntT ScaledNumber<DigitsT>::toInt() const { in toInt() function
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DBitTracker.h414 uint64_t toInt(const RegisterCell &A) const;
H A DBitTracker.cpp397 uint64_t BT::MachineEvaluator::toInt(const RegisterCell &A) const { in toInt() function in BT::MachineEvaluator
/llvm-project-15.0.7/flang/runtime/
H A Dnumeric.cpp118 T toInt{IS_MODULO ? std::floor(quotient) : std::trunc(quotient)}; in RealMod() local
119 return a - toInt * p; in RealMod()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DScaledNumberTest.cpp562 EXPECT_EQ(1u, (n * n).toInt<uint32_t>()); in TEST()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp509 BFI.Freqs[Index].Integer = std::max(UINT64_C(1), Scaled.toInt<uint64_t>()); in convertFloatingToInteger()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h99 SaturatingAdd<uint64_t>(Temp.toInt<uint64_t>(), RelBlockFreq); in updateRelBlockFreq()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp3525 return ty.getType(fir::toInt(off)); in applyPathToType()
3540 return ty.getType(fir::toInt(off)); in applyPathToType()