Home
last modified time | relevance | path

Searched refs:CPred (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIRTypeConstraints.td19 class CIR_IsTypePred<code type> : CPred<"::mlir::isa<" # type # ">($_self)">;
59 CPred<"$_self.isUnsigned()">], "unsigned integer type">;
62 CPred<"$_self.isSigned()">], "signed integer type">;
64 class CIR_HasWidthPred<int width> : CPred<"$_self.getWidth() == " # width>;
67 : CPred<"::cir::isValidFundamentalIntWidth($_self.getWidth())">;
175 class CIR_IsPtrToPred<code type> : CPred<"$_self.isPtrTo<" # type # ">()">;
183 : CPred<"$_self.isPtrToPtrTo<" # type # ">()">;
244 CPred<"::mlir::isa<::cir::VectorType>($_self)">,
245 CPred<"::mlir::isa<::cir::IntType>("
247 CPred<"::mlir::cast<::cir::IntType>("
H A DCIRAttrConstraints.td18 class CIR_IsAttrPred<code attr> : CPred<"::mlir::isa<" # attr # ">($_self)">;
H A DCIRTypes.td629 CPred<"::mlir::isa<::cir::RecordType>($_self)">, "CIR record type">;
H A DCIROps.td303 : PredOpTrait<summary, CPred<
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1788 CmpInst::Predicate CPred; in foldSelectInstWithICmpConst() local
1790 CPred = ICI->getPredicate(); in foldSelectInstWithICmpConst()
1792 CPred = ICI->getInversePredicate(); in foldSelectInstWithICmpConst()
1796 ConstantRange InvDomCR = ConstantRange::makeExactICmpRegion(CPred, *CmpC); in foldSelectInstWithICmpConst()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp100 CmpInst::Predicate CPred = Cmp->getPredicate(); in isSameCompare() local
102 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
104 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp608 CPred,
616 const llvm::function_ref<bool(OpenMPClauseKind, bool)> CPred,
624 const llvm::function_ref<bool(OpenMPClauseKind, bool)> CPred,
1916 CPred, in hasDSA()
1932 if (I == NewI && CPred(DVar.CKind, DVar.AppliedToPointee, I->DefaultAttr)) in hasDSA()
1939 ValueDecl *D, const llvm::function_ref<bool(OpenMPClauseKind, bool)> CPred, in hasInnermostDSA() argument
1953 return (NewI == StartI && CPred(DVar.CKind, DVar.AppliedToPointee)) in hasInnermostDSA()
1960 const llvm::function_ref<bool(OpenMPClauseKind, bool)> CPred, in hasExplicitDSA() argument
1968 CPred(I->getSecond().Attributes, I->getSecond().AppliedToPointee) && in hasExplicitDSA()
1974 return CPred(OMPC_private, /*AppliedToPointee=*/false); in hasExplicitDSA()