Home
last modified time | relevance | path

Searched refs:CmpInfo (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ConditionOptimizer.cpp102 using CmpInfo = std::tuple<int, unsigned, AArch64CC::CondCode>; typedef in __anond07520510111::AArch64ConditionOptimizer
112 CmpInfo adjustCmp(MachineInstr *CmpMI, AArch64CC::CondCode Cmp);
113 void modifyCmp(MachineInstr *CmpMI, const CmpInfo &Info);
243 AArch64ConditionOptimizer::CmpInfo AArch64ConditionOptimizer::adjustCmp( in adjustCmp()
267 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); in adjustCmp()
272 const CmpInfo &Info) { in modifyCmp()
320 CmpInfo Info = adjustCmp(CmpMI, Cmp); in adjustTo()
411 CmpInfo HeadCmpInfo = adjustCmp(HeadCmpMI, HeadCmp); in runOnMachineFunction()
412 CmpInfo TrueCmpInfo = adjustCmp(TrueCmpMI, TrueCmp); in runOnMachineFunction()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp1048 const ComparisonCategoryInfo &CmpInfo = in VisitBinCmp() local
1050 assert(CmpInfo.Record->isTriviallyCopyable() && in VisitBinCmp()
1091 Select = EmitCmpRes(CmpInfo.getEqualOrEquiv()); in VisitBinCmp()
1092 } else if (!CmpInfo.isPartial()) { in VisitBinCmp()
1094 Builder.CreateSelect(EmitCmp(CK_Less), EmitCmpRes(CmpInfo.getLess()), in VisitBinCmp()
1095 EmitCmpRes(CmpInfo.getGreater()), "sel.lt"); in VisitBinCmp()
1097 EmitCmpRes(CmpInfo.getEqualOrEquiv()), in VisitBinCmp()
1101 EmitCmp(CK_Equal), EmitCmpRes(CmpInfo.getEqualOrEquiv()), in VisitBinCmp()
1102 EmitCmpRes(CmpInfo.getUnordered()), "sel.eq"); in VisitBinCmp()
1104 EmitCmpRes(CmpInfo.getGreater()), in VisitBinCmp()
[all …]
H A DCGBuiltin.cpp21650 auto CmpInfo = [] (Info A, Info B) { return A.BuiltinID < B.BuiltinID; }; in getIntrinsicForHexagonNonClangBuiltin() local
21651 static const bool SortOnce = (llvm::sort(Infos, CmpInfo), true); in getIntrinsicForHexagonNonClangBuiltin()
21654 const Info *F = llvm::lower_bound(Infos, Info{BuiltinID, 0, 0}, CmpInfo); in getIntrinsicForHexagonNonClangBuiltin()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h1071 bool CMP3(InterpState &S, CodePtr OpPC, const ComparisonCategoryInfo *CmpInfo) { in CMP3() argument
1086 assert(CmpInfo); in CMP3()
1088 CmpInfo->getValueInfo(CmpInfo->makeWeakResult(CmpResult)); in CMP3()
H A DCompiler.cpp742 const ComparisonCategoryInfo *CmpInfo = in VisitBinaryOperator() local
744 assert(CmpInfo); in VisitBinaryOperator()
756 return this->emitCMP3(*LT, CmpInfo, BO); in VisitBinaryOperator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp13893 const ComparisonCategoryInfo &CmpInfo = in VisitBinCmp() local
13895 const VarDecl *VD = CmpInfo.getValueInfo(CmpInfo.makeWeakResult(CCR))->VD; in VisitBinCmp()