Home
last modified time | relevance | path

Searched refs:CheckType (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_stats.cpp35 static uptr Key(CheckTypeT CheckType, u32 StackId) { in Key() argument
36 return static_cast<uptr>(CheckType) + in Key()
94 static const char *CheckTypeDisplay(CheckTypeT CheckType) { in CheckTypeDisplay() argument
95 switch (CheckType) { in CheckTypeDisplay()
H A Dnsan.cpp447 int32_t checkFT(const FT value, ShadowFT Shadow, CheckTypeT CheckType, in checkFT() argument
493 nsan_stats->AddCheck(CheckType, pc, bp, abs_err / largest); in checkFT()
537 switch (CheckType) { in checkFT()
587 nsan_stats->AddWarning(CheckType, pc, bp, abs_err / largest); in checkFT()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherOpt.cpp302 Matcher *CheckType = MatcherPtr->release(); in ContractNodes() local
303 Matcher *CheckOpcode = CheckType->takeNext(); in ContractNodes()
308 CheckOpcode->setNext(CheckType); in ContractNodes()
309 CheckType->setNext(Tail); in ContractNodes()
520 FindNodeWithKind(Optn, Matcher::CheckType)); in FactorScope()
561 Matcher *M = FindNodeWithKind(Optn, Matcher::CheckType); in FactorScope()
H A DDAGISelMatcherEmitter.cpp653 case Matcher::CheckType: { in EmitMatcher()
1288 case Matcher::CheckType: in getOpcodeString()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp2071 static void ProfileIsAOpInit(FoldingSetNodeID &ID, const RecTy *CheckType, in ProfileIsAOpInit() argument
2073 ID.AddPointer(CheckType); in ProfileIsAOpInit()
2077 const IsAOpInit *IsAOpInit::get(const RecTy *CheckType, const Init *Expr) { in get() argument
2080 ProfileIsAOpInit(ID, CheckType, Expr); in get()
2087 IsAOpInit *I = new (RK.Allocator) IsAOpInit(CheckType, Expr); in get()
2093 ProfileIsAOpInit(ID, CheckType, Expr); in Profile()
2099 if (TI->getType()->typeIsConvertibleTo(CheckType)) in Fold()
2102 if (isa<RecordRecTy>(CheckType)) { in Fold()
2106 if ((!CheckType->typeIsConvertibleTo(TI->getType()) && in Fold()
2121 return get(CheckType, NewExpr)->Fold(); in resolveReferences()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1115 const RecTy *CheckType;
1118 IsAOpInit(const RecTy *CheckType, const Init *Expr) in IsAOpInit() argument
1119 : TypedInit(IK_IsAOpInit, IntRecTy::get(CheckType->getRecordKeeper())), in IsAOpInit()
1120 CheckType(CheckType), Expr(Expr) {} in IsAOpInit()
1128 static const IsAOpInit *get(const RecTy *CheckType, const Init *Expr);
1149 const RecTy *CheckType;
1152 ExistsOpInit(const RecTy *CheckType, const Init *Expr) in ExistsOpInit() argument
1153 : TypedInit(IK_ExistsOpInit, IntRecTy::get(CheckType->getRecordKeeper())), in ExistsOpInit()
1154 CheckType(CheckType), Expr(Expr) {} in ExistsOpInit()
1162 static const ExistsOpInit *get(const RecTy *CheckType, const Init *Expr);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DDAGISelMatcher.h72 CheckType, // Fail if not correct type. enumerator
139 case CheckType: in isSimplePredicateNode()
525 : Matcher(CheckType), Type(type), ResNo(resno) {} in CheckTypeMatcher()
530 static bool classof(const Matcher *N) { return N->getKind() == CheckType; } in classof()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h884 bool StrictCheck = false, bool CheckType = true);
903 ScalarEvolution &SE, bool CheckType = true);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h846 struct CheckType {
848 CheckType(const LLT Ty) : Ty(Ty) {}
855 inline CheckType m_SpecificType(LLT Ty) { return Ty; }
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2201 auto CheckType = [&](QualType Ty, bool IsRetTy = false) { in checkTypeSupport() local
2284 CheckType(Ty); in checkTypeSupport()
2287 CheckType(ParamTy); in checkTypeSupport()
2288 CheckType(FPTy->getReturnType(), /*IsRetTy=*/true); in checkTypeSupport()
2291 CheckType(FNPTy->getReturnType(), /*IsRetTy=*/true); in checkTypeSupport()
H A DSemaDeclCXX.cpp6066 void CheckType(const NamedDecl *D, TypeLoc TL, Sema::AbstractDiagSelID Sel);
6157 void AbstractUsageInfo::CheckType(const NamedDecl *D, TypeLoc TL, in CheckType() function in __anon42c808801411::AbstractUsageInfo
6176 Info.CheckType(FD, TSI->getTypeLoc(), Sema::AbstractNone); in CheckAbstractClassUsage()
6187 Info.CheckType(VD, VD->getTypeSourceInfo()->getTypeLoc(), in CheckAbstractClassUsage()
6212 Info.CheckType(FD, TSI->getTypeLoc(), Sema::AbstractFieldType); in CheckAbstractClassUsage()
16605 auto CheckType = [&](unsigned ParamIdx, QualType ExpectedType, in CheckOperatorNewDeleteTypes() local
16630 if (CheckType(FirstNonTypeParam, CanExpectedSizeOrAddressParamType, "size_t")) in CheckOperatorNewDeleteTypes()
16640 if (CheckType(SizeParameterIndex, SemaRef.Context.getSizeType(), "size_t")) in CheckOperatorNewDeleteTypes()
16646 if (CheckType(SizeParameterIndex + 1, StdAlignValT, "std::align_val_t")) in CheckOperatorNewDeleteTypes()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1608 bool StrictCheck, bool CheckType) { in getPointersDiff() argument
1616 if (CheckType && ElemTyA != ElemTyB) in getPointersDiff()
1715 ScalarEvolution &SE, bool CheckType) { in isConsecutiveAccess() argument
1724 /*StrictCheck=*/true, CheckType); in isConsecutiveAccess()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2923 LLVM_ATTRIBUTE_ALWAYS_INLINE static bool CheckType(MVT::SimpleValueType VT, in CheckType() function
2939 return ::CheckType(VT, N.getOperand(ChildNo), TLI, DL); in CheckChildType()
3093 Result = !::CheckType(VT, N, SDISel.TLI, SDISel.CurDAG->getDataLayout()); in IsPredicateKnownToFail()
3098 Result = !::CheckType(getSimpleVT(Table, Index), N.getValue(Res), in IsPredicateKnownToFail()
3648 if (!::CheckType(VT, N, TLI, CurDAG->getDataLayout())) in SelectCodeCommon()
3654 if (!::CheckType(getSimpleVT(MatcherTable, MatcherIndex), N.getValue(Res), in SelectCodeCommon()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp402 enum CheckType { enum in __anon1c7024df0111::CheckLoc
410 explicit CheckLoc(CheckType CheckTy) : CheckTy(CheckTy) {} in CheckLoc()
413 const CheckType CheckTy;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DComplexDeinterleavingPass.cpp1950 auto CheckType = [&](ShuffleVectorInst *Shuffle) { in identifyDeinterleave() local
1964 if (!CheckType(Shuffle)) in identifyDeinterleave()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp1468 StringRef CheckType = in emitPredicateOpcodes() local
1470 Table << MatchTable::Opcode(CheckType) << MatchTable::Comment("MI") in emitPredicateOpcodes()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp3806 bool CheckType(QualType T) { in CheckType() function in __anone38d232b0411::IsTypeDeclaredInsideVisitor
3832 return CheckType(T->getPointeeType()); in VisitPointerType()
3836 return CheckType(T->getPointeeTypeAsWritten()); in VisitReferenceType()
3863 return CheckType(T->getBaseType()); in VisitUnaryTransformType()
3878 return CheckType(T->getElementType()); in VisitConstantArrayType()
3904 return CheckType(Arg.getIntegralType()); in checkTemplateArgument()
3906 return CheckType(Arg.getAsType()); in checkTemplateArgument()
3914 return CheckType(Arg.getNullPtrType()); in checkTemplateArgument()
3916 return CheckType(Arg.getStructuralValueType()); in checkTemplateArgument()
3954 return Visitor.CheckType(RetT); in hasReturnTypeDeclaredInside()