reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/ValueTracking.h
   30 class AddOperator;

References

include/llvm/Analysis/ValueTracking.h
  478   OverflowResult computeOverflowForSignedAdd(const AddOperator *Add,
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
lib/Analysis/ValueTracking.cpp
 4082                                                   const AddOperator *Add,
 4226 OverflowResult llvm::computeOverflowForSignedAdd(const AddOperator *Add,
lib/CodeGen/SelectionDAG/FastISel.cpp
 2374   if (!isa<AddOperator>(Add))
 2385   return isa<ConstantInt>(cast<AddOperator>(Add)->getOperand(1));
lib/Target/AArch64/AArch64FastISel.cpp
  646                 cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
  649             Op = cast<AddOperator>(Op)->getOperand(0);
lib/Target/ARM/ARMFastISel.cpp
  778               cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
  781               Op = cast<AddOperator>(Op)->getOperand(0);
lib/Target/Mips/MipsFastISel.cpp
  510                 cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
  513             Op = cast<AddOperator>(Op)->getOperand(0);
lib/Target/PowerPC/PPCFastISel.cpp
  368               cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
  371               Op = cast<AddOperator>(Op)->getOperand(0);
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  295             auto *CI = cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
  298             Op = cast<AddOperator>(Op)->getOperand(0);
lib/Target/X86/X86FastISel.cpp
  929             cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
  932           Op = cast<AddOperator>(Op)->getOperand(0);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2315     if (AddOperator *BO = dyn_cast<AddOperator>(Sel->getOperand(1)))
 2315     if (AddOperator *BO = dyn_cast<AddOperator>(Sel->getOperand(1)))
 2319     if (AddOperator *BO = dyn_cast<AddOperator>(Sel->getOperand(2)))
 2319     if (AddOperator *BO = dyn_cast<AddOperator>(Sel->getOperand(2)))
lib/Transforms/Scalar/NaryReassociate.cpp
  342   if (AddOperator *AO = dyn_cast<AddOperator>(IndexToSplit)) {
  342   if (AddOperator *AO = dyn_cast<AddOperator>(IndexToSplit)) {