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

Derived Classes

include/llvm/IR/IntrinsicInst.h
   66   class DbgInfoIntrinsic : public IntrinsicInst {
  209   class ConstrainedFPIntrinsic : public IntrinsicInst {
  299   class BinaryOpIntrinsic : public IntrinsicInst {
  379   template <typename Derived> class MemIntrinsicBase : public IntrinsicInst {
  779   class VAStartInst : public IntrinsicInst {
  792   class VAEndInst : public IntrinsicInst {
  805   class VACopyInst : public IntrinsicInst {
  819   class InstrProfIncrementInst : public IntrinsicInst {
  859   class InstrProfValueProfileInst : public IntrinsicInst {
include/llvm/IR/Statepoint.h
  316 class GCProjectionInst : public IntrinsicInst {
lib/Transforms/Coroutines/CoroInstr.h
   35 class LLVM_LIBRARY_VISIBILITY CoroSubFnInst : public IntrinsicInst {
   70 class LLVM_LIBRARY_VISIBILITY CoroAllocInst : public IntrinsicInst {
   82 class LLVM_LIBRARY_VISIBILITY AnyCoroIdInst : public IntrinsicInst {
  277 class LLVM_LIBRARY_VISIBILITY CoroFrameInst : public IntrinsicInst {
  289 class LLVM_LIBRARY_VISIBILITY CoroFreeInst : public IntrinsicInst {
  305 class LLVM_LIBRARY_VISIBILITY CoroBeginInst : public IntrinsicInst {
  325 class LLVM_LIBRARY_VISIBILITY CoroSaveInst : public IntrinsicInst {
  337 class LLVM_LIBRARY_VISIBILITY CoroPromiseInst : public IntrinsicInst {
  357 class LLVM_LIBRARY_VISIBILITY AnyCoroSuspendInst : public IntrinsicInst {
  429 class LLVM_LIBRARY_VISIBILITY CoroSizeInst : public IntrinsicInst {
  441 class LLVM_LIBRARY_VISIBILITY CoroEndInst : public IntrinsicInst {
  460 class LLVM_LIBRARY_VISIBILITY CoroAllocaAllocInst : public IntrinsicInst {
  480 class LLVM_LIBRARY_VISIBILITY CoroAllocaGetInst : public IntrinsicInst {
  497 class LLVM_LIBRARY_VISIBILITY CoroAllocaFreeInst : public IntrinsicInst {

Declarations

include/llvm/Analysis/MemoryBuiltins.h
   44 class IntrinsicInst;
include/llvm/Analysis/TargetTransformInfo.h
   46 class IntrinsicInst;
include/llvm/Analysis/ValueTracking.h
   35 class IntrinsicInst;
include/llvm/CodeGen/TargetLowering.h
   76 class IntrinsicInst;
include/llvm/Transforms/Scalar/GVN.h
   46 class IntrinsicInst;
include/llvm/Transforms/Scalar/JumpThreading.h
   40 class IntrinsicInst;
lib/Target/AArch64/AArch64TargetTransformInfo.h
   33 class IntrinsicInst;

References

include/llvm/Analysis/MemoryBuiltins.h
  216 Value *lowerObjectSizeCall(IntrinsicInst *ObjectSize, const DataLayout &DL,
include/llvm/Analysis/PtrUseVisitor.h
  285   void visitIntrinsicInst(IntrinsicInst &II) {
include/llvm/Analysis/TargetTransformInfo.h
  382   bool rewriteIntrinsicWithAddressSpace(IntrinsicInst *II,
 1027   bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info) const;
 1037   Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
 1131   bool shouldExpandReduction(const IntrinsicInst *II) const;
 1190     IntrinsicInst *II, Value *OldV, Value *NewV) const = 0;
 1339   virtual bool getTgtMemIntrinsic(IntrinsicInst *Inst,
 1342   virtual Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
 1374   virtual bool shouldExpandReduction(const IntrinsicInst *II) const = 0;
 1451     IntrinsicInst *II, Value *OldV, Value *NewV) const override {
 1768   bool getTgtMemIntrinsic(IntrinsicInst *Inst,
 1775   Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
 1842   bool shouldExpandReduction(const IntrinsicInst *II) const override {
include/llvm/Analysis/TargetTransformInfoImpl.h
  164   bool rewriteIntrinsicWithAddressSpace(IntrinsicInst *II,
  502   bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info) {
  515   Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
  595   bool shouldExpandReduction(const IntrinsicInst *II) const {
include/llvm/CodeGen/BasicTTIImpl.h
  224   bool rewriteIntrinsicWithAddressSpace(IntrinsicInst *II,
include/llvm/CodeGen/FastISel.h
  350   virtual bool fastLowerIntrinsicCall(const IntrinsicInst *II);
  514   bool isCommutativeIntrinsic(IntrinsicInst const *II) {
  535   bool selectIntrinsicCall(const IntrinsicInst *II);
include/llvm/CodeGen/TargetLowering.h
 2177   virtual bool getAddrModeArguments(IntrinsicInst * /*I*/,
include/llvm/IR/IRBuilder.h
  845   InstTy *Insert(InstTy *I, const Twine &Name = "") const {
  845   InstTy *Insert(InstTy *I, const Twine &Name = "") const {
include/llvm/IR/InstVisitor.h
  218   RetTy visitIntrinsicInst(IntrinsicInst &I)      { DELEGATE(CallInst); }
include/llvm/IR/IntrinsicInst.h
   46     IntrinsicInst(const IntrinsicInst &) = delete;
   47     IntrinsicInst &operator=(const IntrinsicInst &) = delete;
   47     IntrinsicInst &operator=(const IntrinsicInst &) = delete;
   66   class DbgInfoIntrinsic : public IntrinsicInst {
   70     static bool classof(const IntrinsicInst *I) {
   81       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
   81       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  122     static bool classof(const IntrinsicInst *I) {
  132       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  132       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  144     static bool classof(const IntrinsicInst *I) {
  148       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  148       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  160     static bool classof(const IntrinsicInst *I) {
  164       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  164       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  177     static bool classof(const IntrinsicInst *I) {
  181       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  181       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  199     static bool classof(const IntrinsicInst *I) {
  203       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  203       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  209   class ConstrainedFPIntrinsic : public IntrinsicInst {
  254     static bool classof(const IntrinsicInst *I) {
  293       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  293       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  299   class BinaryOpIntrinsic : public IntrinsicInst {
  301     static bool classof(const IntrinsicInst *I) {
  319       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  319       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  338     static bool classof(const IntrinsicInst *I) {
  352       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  352       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  359     static bool classof(const IntrinsicInst *I) {
  371       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  371       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  379   template <typename Derived> class MemIntrinsicBase : public IntrinsicInst {
  519     static bool classof(const IntrinsicInst *I) {
  530       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  530       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  538     static bool classof(const IntrinsicInst *I) {
  542       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  542       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  550     static bool classof(const IntrinsicInst *I) {
  560       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  560       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  568     static bool classof(const IntrinsicInst *I) {
  572       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  572       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  580     static bool classof(const IntrinsicInst *I) {
  584       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  584       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  606     static bool classof(const IntrinsicInst *I) {
  616       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  616       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  624     static bool classof(const IntrinsicInst *I) {
  628       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  628       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  636     static bool classof(const IntrinsicInst *I) {
  641       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  641       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  649     static bool classof(const IntrinsicInst *I) {
  653       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  653       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  661     static bool classof(const IntrinsicInst *I) {
  665       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  665       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  682     static bool classof(const IntrinsicInst *I) {
  696       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  696       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  705     static bool classof(const IntrinsicInst *I) {
  715       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  715       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  724     static bool classof(const IntrinsicInst *I) {
  736       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  736       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  745     static bool classof(const IntrinsicInst *I) {
  755       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  755       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  764     static bool classof(const IntrinsicInst *I) {
  774       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  774       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  779   class VAStartInst : public IntrinsicInst {
  781     static bool classof(const IntrinsicInst *I) {
  785       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  785       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  792   class VAEndInst : public IntrinsicInst {
  794     static bool classof(const IntrinsicInst *I) {
  798       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  798       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  805   class VACopyInst : public IntrinsicInst {
  807     static bool classof(const IntrinsicInst *I) {
  811       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  811       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  819   class InstrProfIncrementInst : public IntrinsicInst {
  821     static bool classof(const IntrinsicInst *I) {
  825       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  825       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  850     static bool classof(const IntrinsicInst *I) {
  854       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  854       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  859   class InstrProfValueProfileInst : public IntrinsicInst {
  861     static bool classof(const IntrinsicInst *I) {
  865       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  865       return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
include/llvm/IR/Statepoint.h
  316 class GCProjectionInst : public IntrinsicInst {
  318   static bool classof(const IntrinsicInst *I) {
  324     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  324     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  362   static bool classof(const IntrinsicInst *I) {
  367     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  367     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  395   static bool classof(const IntrinsicInst *I) {
  400     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  400     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
   77     return isa_impl<To, From>::doit(Val);
   92     return isa_impl<To, From>::doit(*Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*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);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  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;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  218   static typename cast_retty<To, From>::ret_type doit(From &Val) {
  219     return cast_convert_val<To, SimpleFrom,
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  228     typename cast_retty<To, FromTy>::ret_type Res2
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  248                                typename cast_retty<X, const Y>::ret_type>::type
  252       X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  258   return cast_convert_val<X, Y,
  259                           typename simplify_type<Y>::SimpleType>::doit(Val);
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 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*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  331                             typename cast_retty<X, const Y>::ret_type>::type
  333   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  333   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  342 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) {
  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;
  352                             typename cast_retty<X, const Y>::ret_type>::type
  360                             typename cast_retty<X, Y>::ret_type>::type
  362   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  362   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
include/llvm/Transforms/Scalar/GVN.h
  253   bool processAssumeIntrinsic(IntrinsicInst *II);
include/llvm/Transforms/Scalar/JumpThreading.h
  149   bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
include/llvm/Transforms/Utils/PredicateInfo.h
  133   IntrinsicInst *AssumeInst;
  134   PredicateAssume(Value *Op, IntrinsicInst *AssumeInst, Value *Condition)
  232   void processAssume(IntrinsicInst *, BasicBlock *, SmallVectorImpl<Value *> &);
lib/Analysis/AliasSetTracker.cpp
  437   if (auto *II = dyn_cast<IntrinsicInst>(Inst)) {
  437   if (auto *II = dyn_cast<IntrinsicInst>(Inst)) {
lib/Analysis/BasicAliasAnalysis.cpp
  812   const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Call);
  812   const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Call);
lib/Analysis/DemandedBits.cpp
  117     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(UserI))
  117     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(UserI))
lib/Analysis/InlineCost.cpp
 1248     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(&Call)) {
 1248     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(&Call)) {
lib/Analysis/InstructionSimplify.cpp
 3588           cast<IntrinsicInst>(LHS)->getIntrinsicID() == Intrinsic::maxnum;
 4934     if (auto *II = dyn_cast<IntrinsicInst>(Op0))
 4934     if (auto *II = dyn_cast<IntrinsicInst>(Op0))
 5108     if (auto *M0 = dyn_cast<IntrinsicInst>(Op0))
 5108     if (auto *M0 = dyn_cast<IntrinsicInst>(Op0))
 5112     if (auto *M1 = dyn_cast<IntrinsicInst>(Op1))
 5112     if (auto *M1 = dyn_cast<IntrinsicInst>(Op1))
lib/Analysis/LazyValueInfo.cpp
  437   bool solveBlockValueIntrinsic(ValueLatticeElement &BBLV, IntrinsicInst *II,
  657     if (auto *II = dyn_cast<IntrinsicInst>(BBI))
  657     if (auto *II = dyn_cast<IntrinsicInst>(BBI))
 1152                                                  IntrinsicInst *II,
lib/Analysis/Lint.cpp
   99     void visitEHBeginCatch(IntrinsicInst *II);
  100     void visitEHEndCatch(IntrinsicInst *II);
  319   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I))
  319   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I))
lib/Analysis/MemoryBuiltins.cpp
  114   if (isa<IntrinsicInst>(V))
  502 Value *llvm::lowerObjectSizeCall(IntrinsicInst *ObjectSize,
lib/Analysis/MemoryDependenceAnalysis.cpp
  155   if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  155   if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  519     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst))
  519     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst))
  530     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  530     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  750       if (auto *II = dyn_cast<IntrinsicInst>(QueryInst))
  750       if (auto *II = dyn_cast<IntrinsicInst>(QueryInst))
lib/Analysis/MemoryLocation.cpp
  135   if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Call)) {
  135   if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Call)) {
lib/Analysis/MemorySSA.cpp
  269   if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(DefInst)) {
  269   if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(DefInst)) {
  362   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  362   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
 1739   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
 1739   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
lib/Analysis/TargetTransformInfo.cpp
  231   IntrinsicInst *II, Value *OldV, Value *NewV) const {
  744 bool TargetTransformInfo::getTgtMemIntrinsic(IntrinsicInst *Inst,
  754     IntrinsicInst *Inst, Type *ExpectedType) const {
  837 bool TargetTransformInfo::shouldExpandReduction(const IntrinsicInst *II) const {
 1321     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 1321     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
lib/Analysis/ValueTracking.cpp
 1470     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 1470     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 1582     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I->getOperand(0))) {
 1582     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I->getOperand(0))) {
 3139   if (const auto *II = dyn_cast<IntrinsicInst>(V)) {
 3139   if (const auto *II = dyn_cast<IntrinsicInst>(V)) {
 3873     const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U);
 3873     const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U);
 5573 static void setLimitsForIntrinsic(const IntrinsicInst &II, APInt &Lower,
 5700   else if (auto *II = dyn_cast<IntrinsicInst>(V))
lib/CodeGen/Analysis.cpp
  543       if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(BBI))
  543       if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(BBI))
lib/CodeGen/CodeGenPrepare.cpp
 1712 static bool despeculateCountZeros(IntrinsicInst *CountZeros,
 1853   IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI);
 1853   IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI);
lib/CodeGen/ExpandReductions.cpp
   80   SmallVector<IntrinsicInst *, 4> Worklist;
   82     if (auto II = dyn_cast<IntrinsicInst>(&*I))
   85   for (auto *II : Worklist) {
lib/CodeGen/GCRootLowering.cpp
  198       IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++);
  198       IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++);
lib/CodeGen/SafeStack.cpp
  407     } else if (auto II = dyn_cast<IntrinsicInst>(&I)) {
  687       auto II = dyn_cast<IntrinsicInst>(I);
lib/CodeGen/SafeStackColoring.cpp
   51   auto *II = cast<IntrinsicInst>(I);
   51   auto *II = cast<IntrinsicInst>(I);
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
  849   IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI);
  849   IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI);
lib/CodeGen/SelectionDAG/FastISel.cpp
 1316   if (const auto *II = dyn_cast<IntrinsicInst>(Call))
 1316   if (const auto *II = dyn_cast<IntrinsicInst>(Call))
 1331 bool FastISel::selectIntrinsicCall(const IntrinsicInst *II) {
 1938 bool FastISel::fastLowerIntrinsicCall(const IntrinsicInst * /*II*/) {
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  204       if (const auto *II = dyn_cast<IntrinsicInst>(&I)) {
  204       if (const auto *II = dyn_cast<IntrinsicInst>(&I)) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1183     if (const IntrinsicInst *EHPtrCall = dyn_cast<IntrinsicInst>(U)) {
 1183     if (const IntrinsicInst *EHPtrCall = dyn_cast<IntrinsicInst>(U)) {
 1208       if (const auto *Call = dyn_cast<IntrinsicInst>(U)) {
 1208       if (const auto *Call = dyn_cast<IntrinsicInst>(U)) {
lib/CodeGen/ShadowStackGCLowering.cpp
  238       if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++))
  238       if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++))
lib/FuzzMutate/RandomIRBuilder.cpp
   99     if (isa<IntrinsicInst>(I))
lib/IR/Instruction.cpp
  608   auto II = dyn_cast<IntrinsicInst>(this);
lib/Target/AArch64/AArch64FastISel.cpp
  153   bool fastLowerIntrinsicCall(const IntrinsicInst *II) override;
 3388   if (!isa<IntrinsicInst>(EV->getAggregateOperand()))
 3391   const auto *II = cast<IntrinsicInst>(EV->getAggregateOperand());
 3391   const auto *II = cast<IntrinsicInst>(EV->getAggregateOperand());
 3470 bool AArch64FastISel::fastLowerIntrinsicCall(const IntrinsicInst *II) {
lib/Target/AArch64/AArch64ISelLowering.cpp
 8687   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 8687   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
lib/Target/AArch64/AArch64PromoteConstant.cpp
  301   if (isa<const IntrinsicInst>(Instr))
lib/Target/AArch64/AArch64StackTagging.cpp
  271     SmallVector<IntrinsicInst *, 2> LifetimeStart;
  272     SmallVector<IntrinsicInst *, 2> LifetimeEnd;
  496 static bool postDominates(const PostDominatorTree *PDT, const IntrinsicInst *A,
  497                           const IntrinsicInst *B) {
  544       auto *II = dyn_cast<IntrinsicInst>(I);
  544       auto *II = dyn_cast<IntrinsicInst>(I);
  633       IntrinsicInst *Start = Info.LifetimeStart[0];
  634       IntrinsicInst *End = Info.LifetimeEnd[0];
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  787 Value *AArch64TTIImpl::getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
  823 bool AArch64TTIImpl::getTgtMemIntrinsic(IntrinsicInst *Inst,
lib/Target/AArch64/AArch64TargetTransformInfo.h
  145   Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
  148   bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info);
  175   bool shouldExpandReduction(const IntrinsicInst *II) const {
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
   69   void visitIntrinsicInst(IntrinsicInst &I);
  161 void AMDGPUAtomicOptimizer::visitIntrinsicInst(IntrinsicInst &I) {
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  141   bool promoteUniformBitreverseToI32(IntrinsicInst &I) const;
  185   bool visitIntrinsicInst(IntrinsicInst &I);
  186   bool visitBitreverseIntrinsicInst(IntrinsicInst &I);
  387     IntrinsicInst &I) const {
  998 bool AMDGPUCodeGenPrepare::visitIntrinsicInst(IntrinsicInst &I) {
 1007 bool AMDGPUCodeGenPrepare::visitBitreverseIntrinsicInst(IntrinsicInst &I) {
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  468   IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI);
  468   IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI);
  875     IntrinsicInst *Intr = cast<IntrinsicInst>(Call);
  875     IntrinsicInst *Intr = cast<IntrinsicInst>(Call);
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  309 bool GCNTTIImpl::getTgtMemIntrinsic(IntrinsicInst *Inst,
  568   if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V))
  568   if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V))
  579   if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V)) {
  579   if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V)) {
  611   IntrinsicInst *II, Value *OldV, Value *NewV) const {
  718   if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) {
  718   if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) {
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
  170   bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info) const;
  196   bool rewriteIntrinsicWithAddressSpace(IntrinsicInst *II,
lib/Target/AMDGPU/SIISelLowering.cpp
 1044 bool SITargetLowering::getAddrModeArguments(IntrinsicInst *II,
10956     if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(U)) {
10956     if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(U)) {
10991   if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V)) {
10991   if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V)) {
11000     if (const IntrinsicInst *Intrinsic =
11001             dyn_cast<IntrinsicInst>(ExtValue->getOperand(0))) {
lib/Target/AMDGPU/SIISelLowering.h
  233   bool getAddrModeArguments(IntrinsicInst * /*I*/,
lib/Target/ARM/ARMFastISel.cpp
  181     bool SelectIntrinsicCall(const IntrinsicInst &I);
 2485 bool ARMFastISel::SelectIntrinsicCall(const IntrinsicInst &I) {
 2865       if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
 2865       if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
lib/Target/ARM/ARMTargetTransformInfo.cpp
  884       if (isa<IntrinsicInst>(Call)) {
  956     if (auto *Call = dyn_cast<IntrinsicInst>(&I)) {
  956     if (auto *Call = dyn_cast<IntrinsicInst>(&I)) {
lib/Target/ARM/ARMTargetTransformInfo.h
  169   bool shouldExpandReduction(const IntrinsicInst *II) const {
lib/Target/ARM/MVETailPredication.cpp
   51   SmallVector<IntrinsicInst*, 4> MaskedInsts;
   93   auto *Call = dyn_cast<IntrinsicInst>(&I);
   93   auto *Call = dyn_cast<IntrinsicInst>(&I);
  102   auto *Call = dyn_cast<IntrinsicInst>(I);
  102   auto *Call = dyn_cast<IntrinsicInst>(I);
  136       auto *Call = dyn_cast<IntrinsicInst>(&I);
  136       auto *Call = dyn_cast<IntrinsicInst>(&I);
  143         return cast<IntrinsicInst>(&I);
  149   IntrinsicInst *Setup = FindLoopIterations(Preheader);
  161   IntrinsicInst *Decrement = nullptr;
  165         Decrement = cast<IntrinsicInst>(&I);
  283 static VectorType* getVectorType(IntrinsicInst *I) {
  296         VectorType *VecTy = getVectorType(cast<IntrinsicInst>(&I));
  304         MaskedInsts.push_back(cast<IntrinsicInst>(&I));
  305       } else if (auto *Int = dyn_cast<IntrinsicInst>(&I)) {
  305       } else if (auto *Int = dyn_cast<IntrinsicInst>(&I)) {
  455   for (auto *I : MaskedInsts) {
lib/Target/Hexagon/HexagonISelLowering.cpp
 1700   unsigned ID = cast<IntrinsicInst>(Inst)->getIntrinsicID();
 1716   else if (isa<IntrinsicInst>(V) && isBrevLdIntrinsic(V))
lib/Target/Hexagon/HexagonOptimizeSZextends.cpp
  126       if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(Intr)) {
  126       if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(Intr)) {
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  433   const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I);
  433   const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I);
lib/Target/Mips/MipsFastISel.cpp
  148   bool fastLowerIntrinsicCall(const IntrinsicInst *II) override;
 1589 bool MipsFastISel::fastLowerIntrinsicCall(const IntrinsicInst *II) {
lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
   23 static bool readsThreadIndex(const IntrinsicInst *II) {
   33 static bool readsLaneId(const IntrinsicInst *II) {
   38 static bool isNVVMAtomic(const IntrinsicInst *II) {
   94     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
   94     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  188   } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(MemI)) {
  188   } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(MemI)) {
  255       } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(&J)) {
  255       } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(&J)) {
  297     if (auto *II = dyn_cast<IntrinsicInst>(BucketChain.Elements[j].Instr))
  297     if (auto *II = dyn_cast<IntrinsicInst>(BucketChain.Elements[j].Instr))
lib/Target/SystemZ/SystemZISelLowering.cpp
  839   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  839   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
lib/Target/X86/X86FastISel.cpp
   79   bool fastLowerIntrinsicCall(const IntrinsicInst *II) override;
  243   if (!isa<IntrinsicInst>(EV->getAggregateOperand()))
  246   const auto *II = cast<IntrinsicInst>(EV->getAggregateOperand());
  246   const auto *II = cast<IntrinsicInst>(EV->getAggregateOperand());
 2600 bool X86FastISel::fastLowerIntrinsicCall(const IntrinsicInst *II) {
lib/Transforms/Coroutines/CoroCleanup.cpp
   62     if (auto *II = dyn_cast<IntrinsicInst>(&I)) {
   62     if (auto *II = dyn_cast<IntrinsicInst>(&I)) {
lib/Transforms/Coroutines/CoroEarly.cpp
   33   void lowerCoroDone(IntrinsicInst *II);
   34   void lowerCoroNoop(IntrinsicInst *II);
   90 void Lowerer::lowerCoroDone(IntrinsicInst *II) {
  108 void Lowerer::lowerCoroNoop(IntrinsicInst *II) {
  179         lowerCoroNoop(cast<IntrinsicInst>(&I));
  207         lowerCoroDone(cast<IntrinsicInst>(&I));
lib/Transforms/Coroutines/CoroInstr.h
   35 class LLVM_LIBRARY_VISIBILITY CoroSubFnInst : public IntrinsicInst {
   61   static bool classof(const IntrinsicInst *I) {
   65     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
   65     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
   70 class LLVM_LIBRARY_VISIBILITY CoroAllocInst : public IntrinsicInst {
   73   static bool classof(const IntrinsicInst *I) {
   77     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
   77     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
   82 class LLVM_LIBRARY_VISIBILITY AnyCoroIdInst : public IntrinsicInst {
   91   IntrinsicInst *getCoroBegin() {
   93       if (auto *II = dyn_cast<IntrinsicInst>(U))
   93       if (auto *II = dyn_cast<IntrinsicInst>(U))
  100   static bool classof(const IntrinsicInst *I) {
  108     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  108     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  194   static bool classof(const IntrinsicInst *I) {
  198     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  198     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  240   static bool classof(const IntrinsicInst *I) {
  246     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  246     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  255   static bool classof(const IntrinsicInst *I) {
  259     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  259     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  268   static bool classof(const IntrinsicInst *I) {
  272     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  272     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  277 class LLVM_LIBRARY_VISIBILITY CoroFrameInst : public IntrinsicInst {
  280   static bool classof(const IntrinsicInst *I) {
  284     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  284     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  289 class LLVM_LIBRARY_VISIBILITY CoroFreeInst : public IntrinsicInst {
  296   static bool classof(const IntrinsicInst *I) {
  300     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  300     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  305 class LLVM_LIBRARY_VISIBILITY CoroBeginInst : public IntrinsicInst {
  316   static bool classof(const IntrinsicInst *I) {
  320     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  320     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  325 class LLVM_LIBRARY_VISIBILITY CoroSaveInst : public IntrinsicInst {
  328   static bool classof(const IntrinsicInst *I) {
  332     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  332     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  337 class LLVM_LIBRARY_VISIBILITY CoroPromiseInst : public IntrinsicInst {
  349   static bool classof(const IntrinsicInst *I) {
  353     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  353     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  357 class LLVM_LIBRARY_VISIBILITY AnyCoroSuspendInst : public IntrinsicInst {
  362   static bool classof(const IntrinsicInst *I) {
  367     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  367     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  389   static bool classof(const IntrinsicInst *I) {
  393     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  393     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  420   static bool classof(const IntrinsicInst *I) {
  424     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  424     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  429 class LLVM_LIBRARY_VISIBILITY CoroSizeInst : public IntrinsicInst {
  432   static bool classof(const IntrinsicInst *I) {
  436     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  436     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  441 class LLVM_LIBRARY_VISIBILITY CoroEndInst : public IntrinsicInst {
  451   static bool classof(const IntrinsicInst *I) {
  455     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  455     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  460 class LLVM_LIBRARY_VISIBILITY CoroAllocaAllocInst : public IntrinsicInst {
  471   static bool classof(const IntrinsicInst *I) {
  475     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  475     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  480 class LLVM_LIBRARY_VISIBILITY CoroAllocaGetInst : public IntrinsicInst {
  488   static bool classof(const IntrinsicInst *I) {
  492     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  492     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  497 class LLVM_LIBRARY_VISIBILITY CoroAllocaFreeInst : public IntrinsicInst {
  505   static bool classof(const IntrinsicInst *I) {
  509     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
  509     return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
lib/Transforms/Coroutines/CoroSplit.cpp
 1009     if (isa<IntrinsicInst>(I))
lib/Transforms/Coroutines/Coroutines.cpp
  256     if (auto II = dyn_cast<IntrinsicInst>(&I)) {
lib/Transforms/IPO/Attributor.cpp
 1340   if (auto *II = dyn_cast<IntrinsicInst>(I)) {
 1340   if (auto *II = dyn_cast<IntrinsicInst>(I)) {
 1385     if (isa<IntrinsicInst>(&I) && isNoSyncIntrinsic(&I))
lib/Transforms/IPO/DeadArgumentElimination.cpp
  146       if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI)) {
  146       if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI)) {
lib/Transforms/IPO/Inliner.cpp
  567         if (!CS || isa<IntrinsicInst>(I))
  935           else if (!isa<IntrinsicInst>(I)) {
lib/Transforms/IPO/SampleProfile.cpp
  671   if (isa<BranchInst>(Inst) || isa<IntrinsicInst>(Inst) || isa<PHINode>(Inst))
  923             !isa<IntrinsicInst>(I) && (FS = findCalleeFunctionSamples(I))) {
 1449         } else if (!isa<IntrinsicInst>(&I)) {
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 2086   return IntrinsicInst::Create(F, { ShVal, ShVal, ShAmt });
lib/Transforms/InstCombine/InstCombineCalls.cpp
  286 static Value *simplifyX86immShift(const IntrinsicInst &II,
  420 static Value *simplifyX86varShift(const IntrinsicInst &II,
  544 static Value *simplifyX86pack(IntrinsicInst &II,
  610 static Value *simplifyX86movmsk(const IntrinsicInst &II,
  640 static Value *simplifyX86addcarry(const IntrinsicInst &II,
  667 static Value *simplifyX86insertps(const IntrinsicInst &II,
  726 static Value *simplifyX86extrq(IntrinsicInst &II, Value *Op0,
  820 static Value *simplifyX86insertq(IntrinsicInst &II, Value *Op0, Value *Op1,
  915 static Value *simplifyX86pshufb(const IntrinsicInst &II,
  962 static Value *simplifyX86vpermilvar(const IntrinsicInst &II,
 1012 static Value *simplifyX86vpermv(const IntrinsicInst &II,
 1050 Value *InstCombiner::simplifyMaskedLoad(IntrinsicInst &II) {
 1076 Instruction *InstCombiner::simplifyMaskedStore(IntrinsicInst &II) {
 1112 Instruction *InstCombiner::simplifyMaskedGather(IntrinsicInst &II) {
 1122 Instruction *InstCombiner::simplifyMaskedScatter(IntrinsicInst &II) {
 1156 static Instruction *simplifyInvariantGroupIntrinsic(IntrinsicInst &II,
 1182 static Instruction *foldCttzCtlz(IntrinsicInst &II, InstCombiner &IC) {
 1258 static Instruction *foldCtpop(IntrinsicInst &II, InstCombiner &IC) {
 1298 static Instruction *simplifyX86MaskedLoad(IntrinsicInst &II, InstCombiner &IC) {
 1334 static bool simplifyX86MaskedStore(IntrinsicInst &II, InstCombiner &IC) {
 1400 static Value *simplifyNeonTbl1(const IntrinsicInst &II,
 1439 static Value *simplifyNeonVld1(const IntrinsicInst &II,
 1460 static bool haveSameOperands(const IntrinsicInst &I, const IntrinsicInst &E,
 1460 static bool haveSameOperands(const IntrinsicInst &I, const IntrinsicInst &E,
 1479 static bool removeTriviallyEmptyRange(IntrinsicInst &I, unsigned StartID,
 1485     if (auto *E = dyn_cast<IntrinsicInst>(BI)) {
 1485     if (auto *E = dyn_cast<IntrinsicInst>(BI)) {
 1502 static Instruction *SimplifyNVVMIntrinsic(IntrinsicInst *II, InstCombiner &IC) {
 1769 Instruction *InstCombiner::foldIntrinsicWithOverflowCommon(IntrinsicInst *II) {
 1796   IntrinsicInst *II = dyn_cast<IntrinsicInst>(&CI);
 1796   IntrinsicInst *II = dyn_cast<IntrinsicInst>(&CI);
 2121     if (auto *Other = dyn_cast<IntrinsicInst>(Arg0)) {
 2121     if (auto *Other = dyn_cast<IntrinsicInst>(Arg0)) {
 2193     if (auto *M = dyn_cast<IntrinsicInst>(Arg0)) {
 2193     if (auto *M = dyn_cast<IntrinsicInst>(Arg0)) {
 3862     if (IntrinsicInst *SS = dyn_cast<IntrinsicInst>(II->getArgOperand(0))) {
 3862     if (IntrinsicInst *SS = dyn_cast<IntrinsicInst>(II->getArgOperand(0))) {
 3882         if (auto *II2 = dyn_cast<IntrinsicInst>(BCI)) {
 3882         if (auto *II2 = dyn_cast<IntrinsicInst>(BCI)) {
 4141 static IntrinsicInst *findInitTrampolineFromAlloca(Value *TrampMem) {
 4151   IntrinsicInst *InitTrampoline = nullptr;
 4153     IntrinsicInst *II = dyn_cast<IntrinsicInst>(U);
 4153     IntrinsicInst *II = dyn_cast<IntrinsicInst>(U);
 4180 static IntrinsicInst *findInitTrampolineFromBB(IntrinsicInst *AdjustTramp,
 4180 static IntrinsicInst *findInitTrampolineFromBB(IntrinsicInst *AdjustTramp,
 4188     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
 4188     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
 4201 static IntrinsicInst *findInitTrampoline(Value *Callee) {
 4203   IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee);
 4203   IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee);
 4210   if (IntrinsicInst *IT = findInitTrampolineFromAlloca(TrampMem))
 4212   if (IntrinsicInst *IT = findInitTrampolineFromBB(AdjustTramp, TrampMem))
 4356   if (IntrinsicInst *II = findInitTrampoline(Callee))
 4694                                              IntrinsicInst &Tramp) {
lib/Transforms/InstCombine/InstCombineCasts.cpp
  573   return IntrinsicInst::Create(F, { X, X, NarrowShAmt });
 1635   if (auto *II = dyn_cast<IntrinsicInst>(FPT.getOperand(0))) {
 1635   if (auto *II = dyn_cast<IntrinsicInst>(FPT.getOperand(0))) {
 2448       return IntrinsicInst::Create(Bswap, { ScalarX });
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1074     } else if (const auto *Intrin = dyn_cast<IntrinsicInst>(V)) {
 1074     } else if (const auto *Intrin = dyn_cast<IntrinsicInst>(V)) {
 2895   if (auto *II = dyn_cast<IntrinsicInst>(Cmp.getOperand(0)))
 2895   if (auto *II = dyn_cast<IntrinsicInst>(Cmp.getOperand(0)))
 3025                                                            IntrinsicInst *II,
 3110                                                          IntrinsicInst *II,
lib/Transforms/InstCombine/InstCombineInternal.h
  507                                               IntrinsicInst &Tramp);
  509   Value *simplifyMaskedLoad(IntrinsicInst &II);
  510   Instruction *simplifyMaskedStore(IntrinsicInst &II);
  511   Instruction *simplifyMaskedGather(IntrinsicInst &II);
  512   Instruction *simplifyMaskedScatter(IntrinsicInst &II);
  633   Instruction *foldIntrinsicWithOverflowCommon(IntrinsicInst *II);
  682   Instruction *CreateOverflowTuple(IntrinsicInst *II, Value *Result,
  857   Value *simplifyAMDGCNMemoryIntrinsicDemanded(IntrinsicInst *II,
  965   Instruction *foldICmpIntrinsicWithConstant(ICmpInst &ICI, IntrinsicInst *II,
  967   Instruction *foldICmpEqIntrinsicWithConstant(ICmpInst &ICI, IntrinsicInst *II,
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  554     IntrinsicInst *Log2 = nullptr;
  557       Log2 = cast<IntrinsicInst>(Op0);
  562       Log2 = cast<IntrinsicInst>(Op1);
lib/Transforms/InstCombine/InstCombineSelect.cpp
  821   auto *II = cast<IntrinsicInst>(TrueVal);
  821   auto *II = cast<IntrinsicInst>(TrueVal);
  869   IntrinsicInst *II = cast<IntrinsicInst>(Count);
  869   IntrinsicInst *II = cast<IntrinsicInst>(Count);
  876     IntrinsicInst *NewI = cast<IntrinsicInst>(II->clone());
  876     IntrinsicInst *NewI = cast<IntrinsicInst>(II->clone());
 2187   return IntrinsicInst::Create(F, { TVal, TVal, ShAmt });
lib/Transforms/InstCombine/InstCombineShifts.cpp
  984     auto *II = dyn_cast<IntrinsicInst>(Op0);
  984     auto *II = dyn_cast<IntrinsicInst>(Op0);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  656     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  656     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  971 Value *InstCombiner::simplifyAMDGCNMemoryIntrinsicDemanded(IntrinsicInst *II,
 1169     auto *II = dyn_cast<IntrinsicInst>(Inst);
 1169     auto *II = dyn_cast<IntrinsicInst>(Inst);
 1461     IntrinsicInst *II = dyn_cast<IntrinsicInst>(I);
 1461     IntrinsicInst *II = dyn_cast<IntrinsicInst>(I);
lib/Transforms/InstCombine/InstructionCombining.cpp
 2310         if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 2310         if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 2384       if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 2384       if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  891     IntrinsicInst *InsBefore;
  901   SmallVector<IntrinsicInst *, 1> StackRestoreVec;
  903   IntrinsicInst *LocalEscapeCall = nullptr;
 1042   void visitIntrinsicInst(IntrinsicInst &II) {
 2597     IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I);
 2597     IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I);
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  624 	if (auto *II = dyn_cast<IntrinsicInst>(It)) {
  624 	if (auto *II = dyn_cast<IntrinsicInst>(It)) {
lib/Transforms/Instrumentation/Instrumentation.cpp
   49     } else if (auto *II = dyn_cast<IntrinsicInst>(I)) {
   49     } else if (auto *II = dyn_cast<IntrinsicInst>(I)) {
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1047   SmallVector<std::pair<IntrinsicInst *, AllocaInst *>, 16> LifetimeStartList;
 2452   bool handleVectorStoreIntrinsic(IntrinsicInst &I) {
 2476   bool handleVectorLoadIntrinsic(IntrinsicInst &I) {
 2512   bool maybeHandleSimpleNomemIntrinsic(IntrinsicInst &I) {
 2546   bool handleUnknownIntrinsic(IntrinsicInst &I) {
 2576   void handleInvariantGroup(IntrinsicInst &I) {
 2581   void handleLifetimeStart(IntrinsicInst &I) {
 2592   void handleBswap(IntrinsicInst &I) {
 2617   void handleVectorConvertIntrinsic(IntrinsicInst &I, int NumUsedElements) {
 2712   void handleVectorShiftIntrinsic(IntrinsicInst &I, bool Variable) {
 2777   void handleVectorPackIntrinsic(IntrinsicInst &I, unsigned EltSizeInBits = 0) {
 2814   void handleVectorSadIntrinsic(IntrinsicInst &I) {
 2833   void handleVectorPmaddIntrinsic(IntrinsicInst &I,
 2850   void handleVectorComparePackedIntrinsic(IntrinsicInst &I) {
 2863   void handleVectorCompareScalarIntrinsic(IntrinsicInst &I) {
 2871   void handleStmxcsr(IntrinsicInst &I) {
 2886   void handleLdmxcsr(IntrinsicInst &I) {
 2906   void handleMaskedStore(IntrinsicInst &I) {
 2936   bool handleMaskedLoad(IntrinsicInst &I) {
 2991   void handleBmiIntrinsic(IntrinsicInst &I) {
 3007   void visitIntrinsicInst(IntrinsicInst &I) {
 3906   void unpoisonVAListTagForInst(IntrinsicInst &I) {
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  630             (isa<CallInst>(Inst) && !isa<IntrinsicInst>(Inst)))
lib/Transforms/Scalar/CallSiteSplitting.cpp
  524       if (!CS || isa<IntrinsicInst>(I) || isInstructionTriviallyDead(I, &TLI))
lib/Transforms/Scalar/ConstantHoisting.cpp
  363   if (auto IntrInst = dyn_cast<IntrinsicInst>(Inst))
  492     if (canReplaceOperandWithVariable(Inst, Idx) || isa<IntrinsicInst>(Inst)) {
lib/Transforms/Scalar/DeadStoreElimination.cpp
  155   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  155   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  200   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  200   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  239   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  239   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  275   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  275   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
lib/Transforms/Scalar/EarlyCSE.cpp
  606       if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst))
  606       if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst))
  707     return TTI.getOrCreateResultFromMemIntrinsic(cast<IntrinsicInst>(Inst),
lib/Transforms/Scalar/GVN.cpp
  820   if (const IntrinsicInst* II = dyn_cast<IntrinsicInst>(Inst))
  820   if (const IntrinsicInst* II = dyn_cast<IntrinsicInst>(Inst))
 1398 bool GVN::processAssumeIntrinsic(IntrinsicInst *IntrinsicI) {
 1968   if (IntrinsicInst *IntrinsicI = dyn_cast<IntrinsicInst>(I))
 1968   if (IntrinsicInst *IntrinsicI = dyn_cast<IntrinsicInst>(I))
lib/Transforms/Scalar/GVNHoist.cpp
 1108           if (auto *Intr = dyn_cast<IntrinsicInst>(Call)) {
 1108           if (auto *Intr = dyn_cast<IntrinsicInst>(Call)) {
lib/Transforms/Scalar/GuardWidening.cpp
   95   if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) {
   95   if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) {
  110   if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) {
  110   if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) {
lib/Transforms/Scalar/InferAddressSpaces.cpp
  188   bool rewriteIntrinsicOperands(IntrinsicInst *II,
  191     IntrinsicInst *II,
  263 bool InferAddressSpaces::rewriteIntrinsicOperands(IntrinsicInst *II,
  284     IntrinsicInst *II, std::vector<std::pair<Value *, bool>> &PostorderStack,
  375     } else if (auto *II = dyn_cast<IntrinsicInst>(&I))
  375     } else if (auto *II = dyn_cast<IntrinsicInst>(&I))
  949       if (auto *II = dyn_cast<IntrinsicInst>(CurUser)) {
  949       if (auto *II = dyn_cast<IntrinsicInst>(CurUser)) {
lib/Transforms/Scalar/JumpThreading.cpp
  536       else if (!isa<IntrinsicInst>(CI))
 2677       if (isGuard(&I) && ThreadGuard(BB, cast<IntrinsicInst>(&I), BI))
 2686 bool JumpThreadingPass::ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard,
lib/Transforms/Scalar/LICM.cpp
 1009     IntrinsicInst *II = dyn_cast<IntrinsicInst>(U);
 1009     IntrinsicInst *II = dyn_cast<IntrinsicInst>(U);
lib/Transforms/Scalar/LoopPredication.cpp
  295   bool widenGuardConditions(IntrinsicInst *II, SCEVExpander &Expander);
  781 bool LoopPredication::widenGuardConditions(IntrinsicInst *Guard,
  995   SmallVector<IntrinsicInst *, 4> Guards;
 1000         Guards.push_back(cast<IntrinsicInst>(&I));
 1013   for (auto *Guard : Guards)
lib/Transforms/Scalar/LoopRerollPass.cpp
 1119   const IntrinsicInst* II = dyn_cast<IntrinsicInst>(I);
 1119   const IntrinsicInst* II = dyn_cast<IntrinsicInst>(I);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  803   } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  803   } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  849   } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
  849   } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
lib/Transforms/Scalar/LoopUnswitch.cpp
  680   SmallVector<IntrinsicInst *, 4> Guards;
  691       if (auto *II = dyn_cast<IntrinsicInst>(&I))
  691       if (auto *II = dyn_cast<IntrinsicInst>(&I))
  697   for (IntrinsicInst *Guard : Guards) {
 1346       if (auto *II = dyn_cast<IntrinsicInst>(&I))
 1346       if (auto *II = dyn_cast<IntrinsicInst>(&I))
lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
   42 static Value *lowerIsConstantIntrinsic(IntrinsicInst *II) {
   93       IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I);
   93       IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I);
  112     IntrinsicInst *II = dyn_cast<IntrinsicInst>(&*VH);
  112     IntrinsicInst *II = dyn_cast<IntrinsicInst>(&*VH);
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  837     if (const IntrinsicInst *IT = dyn_cast<IntrinsicInst>(U))
  837     if (const IntrinsicInst *IT = dyn_cast<IntrinsicInst>(U))
 1073   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
 1073   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
lib/Transforms/Scalar/NewGVN.cpp
  943   if (auto *II = dyn_cast<IntrinsicInst>(V))
 1477   else if (auto *II = dyn_cast<IntrinsicInst>(DepInst)) {
 1477   else if (auto *II = dyn_cast<IntrinsicInst>(DepInst)) {
 1630   if (auto *II = dyn_cast<IntrinsicInst>(I)) {
 1630   if (auto *II = dyn_cast<IntrinsicInst>(I)) {
 4044           auto *II = dyn_cast<IntrinsicInst>(DominatingLeader);
 4044           auto *II = dyn_cast<IntrinsicInst>(DominatingLeader);
lib/Transforms/Scalar/PlaceSafepoints.cpp
  361   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Call)) {
  361   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Call)) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  541   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  541   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 2451   SmallVector<IntrinsicInst*, 12> InvariantStartInstructions;
 2460     if (auto *II = dyn_cast<IntrinsicInst>(&I))
 2460     if (auto *II = dyn_cast<IntrinsicInst>(&I))
 2484   for (auto *II : InvariantStartInstructions) {
lib/Transforms/Scalar/SCCP.cpp
 1202   if (auto *II = dyn_cast<IntrinsicInst>(I)) {
 1202   if (auto *II = dyn_cast<IntrinsicInst>(I)) {
 2167           if (auto *II = dyn_cast<IntrinsicInst>(Inst)) {
 2167           if (auto *II = dyn_cast<IntrinsicInst>(Inst)) {
lib/Transforms/Scalar/SROA.cpp
  929   void visitIntrinsicInst(IntrinsicInst &II) {
 1138     if (isa<IntrinsicInst>(*U->getUser()))
 1843   } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(U->getUser())) {
 1843   } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(U->getUser())) {
 2072   } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(U->getUser())) {
 2072   } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(U->getUser())) {
 3070   bool visitIntrinsicInst(IntrinsicInst &II) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1070       if (auto *II = dyn_cast<IntrinsicInst>(&I))
 1070       if (auto *II = dyn_cast<IntrinsicInst>(&I))
 2375 turnGuardIntoBranch(IntrinsicInst *GI, Loop &L,
 2549           auto *Cond = cast<IntrinsicInst>(&I)->getArgOperand(0);
 2769     BestUnswitchTI = turnGuardIntoBranch(cast<IntrinsicInst>(BestUnswitchTI), L,
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  278     if (auto *UserII = dyn_cast<IntrinsicInst>(UserI))
  278     if (auto *UserII = dyn_cast<IntrinsicInst>(UserI))
lib/Transforms/Utils/AddDiscriminators.cpp
  113   return !isa<IntrinsicInst>(I) || isa<MemIntrinsic>(I);
  238       if (!isa<InvokeInst>(I) && (!isa<CallInst>(I) || isa<IntrinsicInst>(I)))  
lib/Transforms/Utils/CodeExtractor.cpp
  344       IntrinsicInst *IntrInst = dyn_cast<IntrinsicInst>(&II);
  344       IntrinsicInst *IntrInst = dyn_cast<IntrinsicInst>(&II);
  449     IntrinsicInst *IntrInst = dyn_cast<IntrinsicInst>(U);
  449     IntrinsicInst *IntrInst = dyn_cast<IntrinsicInst>(U);
  986       auto *II = dyn_cast<IntrinsicInst>(&*It);
  986       auto *II = dyn_cast<IntrinsicInst>(&*It);
lib/Transforms/Utils/Evaluator.cpp
  494       if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction())) {
  494       if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction())) {
lib/Transforms/Utils/InlineFunction.cpp
 1316     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(U))
 1316     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(U))
 1812           if (auto *II = dyn_cast<IntrinsicInst>(&I))
 1812           if (auto *II = dyn_cast<IntrinsicInst>(&I))
lib/Transforms/Utils/Local.cpp
  399   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  399   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 2921     if (isa<IntrinsicInst>(I))
lib/Transforms/Utils/LoopRotationUtils.cpp
  374       if (auto *II = dyn_cast<IntrinsicInst>(C))
  374       if (auto *II = dyn_cast<IntrinsicInst>(C))
lib/Transforms/Utils/LoopUnroll.cpp
  687         if (auto *II = dyn_cast<IntrinsicInst>(&I))
  687         if (auto *II = dyn_cast<IntrinsicInst>(&I))
lib/Transforms/Utils/LoopUnrollAndJam.cpp
  384         if (auto *II = dyn_cast<IntrinsicInst>(&I))
  384         if (auto *II = dyn_cast<IntrinsicInst>(&I))
lib/Transforms/Utils/PredicateInfo.cpp
  351 void PredicateInfo::processAssume(IntrinsicInst *II, BasicBlock *AssumeBB,
  507     if (auto *II = dyn_cast_or_null<IntrinsicInst>(Assume))
  507     if (auto *II = dyn_cast_or_null<IntrinsicInst>(Assume))
  789     auto *II = dyn_cast<IntrinsicInst>(Inst);
  789     auto *II = dyn_cast<IntrinsicInst>(Inst);
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
   83     } else if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) {
   83     } else if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) {
lib/Transforms/Utils/SimplifyCFG.cpp
 1428   if (auto II = dyn_cast<IntrinsicInst>(I)) {
 2270       if (auto *II = dyn_cast_or_null<IntrinsicInst>(N))
 2270       if (auto *II = dyn_cast_or_null<IntrinsicInst>(N))
 3946     auto *II = dyn_cast<IntrinsicInst>(I);
 3946     auto *II = dyn_cast<IntrinsicInst>(I);
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1112   if (isa<IntrinsicInst>(CI))
 1134   if (isa<IntrinsicInst>(CI))
 1191   if (isa<IntrinsicInst>(CI))
 3012   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI)) {
 3012   if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI)) {
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  624     } else if (isa<IntrinsicInst>(&I) &&
  625                cast<IntrinsicInst>(&I)->getIntrinsicID() ==
lib/Transforms/Vectorize/LoopVectorize.cpp
 2513   if (auto *II = dyn_cast<IntrinsicInst>(Cloned))
 2513   if (auto *II = dyn_cast<IntrinsicInst>(Cloned))
lib/Transforms/Vectorize/SLPVectorizer.cpp
 4698         (!isa<IntrinsicInst>(I) ||
 4699          cast<IntrinsicInst>(I)->getIntrinsicID() != Intrinsic::sideeffect)) {
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGCall.cpp
 2757       if (llvm::IntrinsicInst *Intrinsic =
 2758               dyn_cast<llvm::IntrinsicInst>(&*II)) {
tools/clang/lib/CodeGen/CGException.cpp
 1735     auto *ParentRecover =
 1736         cast<llvm::IntrinsicInst>(ParentVar.getPointer()->stripPointerCasts());
tools/clang/lib/CodeGen/CGExprAgg.cpp
  267   llvm::IntrinsicInst *LifetimeStartInst = nullptr;
  277           cast<llvm::IntrinsicInst>(std::prev(Builder.GetInsertPoint()));
tools/clang/lib/CodeGen/CGObjCMac.cpp
 4284       if (isa<llvm::IntrinsicInst>(I))
tools/polly/include/polly/ScopDetection.h
  343   bool isValidIntrinsicInst(IntrinsicInst &II, DetectionContext &Context) const;
tools/polly/lib/Analysis/ScopBuilder.cpp
 2113                       (isa<CallInst>(Inst) && !isa<IntrinsicInst>(Inst))))
tools/polly/lib/Analysis/ScopDetection.cpp
  676   if (auto *II = dyn_cast<IntrinsicInst>(&CI))
  676   if (auto *II = dyn_cast<IntrinsicInst>(&CI))
  740 bool ScopDetection::isValidIntrinsicInst(IntrinsicInst &II,
tools/polly/lib/CodeGen/CodeGeneration.cpp
  152       if (auto *IT = dyn_cast<IntrinsicInst>(&*InstIt)) {
  152       if (auto *IT = dyn_cast<IntrinsicInst>(&*InstIt)) {
tools/polly/lib/Support/ScopHelper.cpp
  611   if (auto *IT = dyn_cast<IntrinsicInst>(V)) {
unittests/IR/IRBuilderTest.cpp
   55   IntrinsicInst *II;
   63   II = cast<IntrinsicInst>(Call);
   67   II = cast<IntrinsicInst>(Call);
   71   II = cast<IntrinsicInst>(Call);
   75   II = cast<IntrinsicInst>(Call);
   79   II = cast<IntrinsicInst>(Call);
   83   II = cast<IntrinsicInst>(Call);
   89   II = cast<IntrinsicInst>(Call);
   95   II = cast<IntrinsicInst>(Call);
  101   II = cast<IntrinsicInst>(Call);
  107   II = cast<IntrinsicInst>(Call);
  113   II = cast<IntrinsicInst>(Call);
  119   II = cast<IntrinsicInst>(Call);
  176   IntrinsicInst *II;
  189   II = cast<IntrinsicInst>(V);
  194   II = cast<IntrinsicInst>(V);
  199   II = cast<IntrinsicInst>(V);
  204   II = cast<IntrinsicInst>(V);
  209   II = cast<IntrinsicInst>(V);
  214   II = cast<IntrinsicInst>(VInt);
  219   II = cast<IntrinsicInst>(VInt);
  224   II = cast<IntrinsicInst>(V);
  229   II = cast<IntrinsicInst>(VDouble);
  319   IntrinsicInst *II_Start1 = dyn_cast<IntrinsicInst>(Start1);
  319   IntrinsicInst *II_Start1 = dyn_cast<IntrinsicInst>(Start1);
  320   IntrinsicInst *II_End1 = dyn_cast<IntrinsicInst>(End1);
  320   IntrinsicInst *II_End1 = dyn_cast<IntrinsicInst>(End1);
usr/include/c++/7.4.0/type_traits
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1983     { typedef _Up     type; };