Home
last modified time | relevance | path

Searched refs:CmpTy (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp956 IntegerType *CmpTy = IC.Builder.getIntNTy(NewWidth); in instCombineIntrinsic() local
958 SrcLHS = IC.Builder.CreateSExt(SrcLHS, CmpTy); in instCombineIntrinsic()
959 SrcRHS = IC.Builder.CreateSExt(SrcRHS, CmpTy); in instCombineIntrinsic()
961 SrcLHS = IC.Builder.CreateZExt(SrcLHS, CmpTy); in instCombineIntrinsic()
962 SrcRHS = IC.Builder.CreateZExt(SrcRHS, CmpTy); in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp7023 LLT CmpTy = MRI.getType(Cmp1->getReg(0)); in tryFoldAndOrOrICmpsUsingRanges() local
7115 auto ICmp = B.buildICmp(NewPred, CmpTy, Add, NewCon); in tryFoldAndOrOrICmpsUsingRanges()
7121 auto ICmp = B.buildICmp(NewPred, CmpTy, And, NewCon); in tryFoldAndOrOrICmpsUsingRanges()
7127 auto ICmp = B.buildICmp(NewPred, CmpTy, Add, NewCon); in tryFoldAndOrOrICmpsUsingRanges()
7131 auto ICmp = B.buildICmp(NewPred, CmpTy, R1, NewCon); in tryFoldAndOrOrICmpsUsingRanges()
7158 LLT CmpTy = MRI.getType(Cmp1->getReg(0)); in tryFoldLogicOfFCmps() local
7164 {TargetOpcode::G_FCMP, {CmpTy, CmpOperandTy}}) || in tryFoldLogicOfFCmps()
7194 isConstantLegalOrBeforeLegalizer(CmpTy)) { in tryFoldLogicOfFCmps()
7195 auto False = B.buildConstant(CmpTy, 0); in tryFoldLogicOfFCmps()
7198 isConstantLegalOrBeforeLegalizer(CmpTy)) { in tryFoldLogicOfFCmps()
[all …]
H A DIRTranslator.cpp950 const LLT CmpTy = MRI->getType(CmpOpReg); in emitSwitchCase() local
951 auto Sub = MIB.buildSub({CmpTy}, CmpOpReg, CondLHS); in emitSwitchCase()
952 auto Diff = MIB.buildConstant(CmpTy, High - Low); in emitSwitchCase()
H A DLegalizerHelper.cpp7281 LLT CmpTy = DstTy.changeElementSize(1); in lowerThreewayCompare() local
7292 auto IsGT = MIRBuilder.buildICmp(GTPredicate, CmpTy, Cmp->getLHSReg(), in lowerThreewayCompare()
7297 auto IsLT = MIRBuilder.buildICmp(LTPredicate, CmpTy, Cmp->getLHSReg(), in lowerThreewayCompare()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp1088 auto *CmpTy = cast<FixedVectorType>(CmpInst::makeCmpResultType(X->getType())); in foldExtractedCmps() local
1093 NewCost += TTI.getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, CmpTy, in foldExtractedCmps()
1095 NewCost += TTI.getArithmeticInstrCost(I.getOpcode(), CmpTy); in foldExtractedCmps()
1096 NewCost += TTI.getVectorInstrCost(*Ext0, CmpTy, CostKind, CheapIndex); in foldExtractedCmps()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp2912 ZeroCompare CmpTy);
3243 ZeroCompare CmpTy) { in getCompoundZeroComparisonInGPR() argument
3249 switch (CmpTy) { in getCompoundZeroComparisonInGPR()
3279 (CmpTy == ZeroCompare::GEZExt || CmpTy == ZeroCompare::LEZExt)) in getCompoundZeroComparisonInGPR()
3284 (CmpTy == ZeroCompare::GESExt || CmpTy == ZeroCompare::LESExt)) in getCompoundZeroComparisonInGPR()
3290 switch (CmpTy) { in getCompoundZeroComparisonInGPR()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp1725 QualType CmpTy = SVB.getConditionType(); in checkTaintedness() local
1733 auto Cmp = SVB.evalBinOpNN(State, BO_GE, *SizeNL, MaxLength, CmpTy) in checkTaintedness()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp4405 LLT CmpTy = MRI.getType(LHS.getReg()); in emitIntegerCompare() local
4406 assert(!CmpTy.isVector() && "Expected scalar or pointer"); in emitIntegerCompare()
4407 unsigned Size = CmpTy.getSizeInBits(); in emitIntegerCompare()