| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | HashRecognize.cpp | 131 case Instruction::BinaryOps::And: in computeBinOp() 133 case Instruction::BinaryOps::Or: in computeBinOp() 135 case Instruction::BinaryOps::Xor: in computeBinOp() 137 case Instruction::BinaryOps::Shl: { in computeBinOp() 142 case Instruction::BinaryOps::LShr: in computeBinOp() 144 case Instruction::BinaryOps::AShr: in computeBinOp() 146 case Instruction::BinaryOps::Add: { in computeBinOp() 151 case Instruction::BinaryOps::Sub: { in computeBinOp() 156 case Instruction::BinaryOps::Mul: { in computeBinOp() 162 case Instruction::BinaryOps::UDiv: in computeBinOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IRBuilderFolder.h | 37 virtual Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, 40 virtual Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, 43 virtual Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, 47 virtual Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS,
|
| H A D | NoFolder.h | 49 Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, in FoldBinOp() 54 Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldExactBinOp() 59 Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldNoWrapBinOp() 64 Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldBinOpFMF()
|
| H A D | ConstantFolder.h | 44 Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, in FoldBinOp() 56 Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldExactBinOp() 69 Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldNoWrapBinOp() 87 Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldBinOpFMF()
|
| H A D | ConstantRange.h | 175 makeGuaranteedNoWrapRegion(Instruction::BinaryOps BinOp, 181 makeExactNoWrapRegion(Instruction::BinaryOps BinOp, const APInt &Other, 397 LLVM_ABI ConstantRange binaryOp(Instruction::BinaryOps BinOp, 404 LLVM_ABI ConstantRange overflowingBinaryOp(Instruction::BinaryOps BinOp,
|
| H A D | InstrTypes.h | 177 LLVM_ABI BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, 198 LLVM_ABI static BinaryOperator *Create(BinaryOps Op, Value *S1, Value *S2, 219 CreateWithCopiedFlags(BinaryOps Opc, Value *V1, Value *V2, Value *CopyO, 227 static BinaryOperator *CreateWithFMF(BinaryOps Opc, Value *V1, Value *V2, 279 static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2, 286 static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2, 294 static BinaryOperator *CreateNUW(BinaryOps Opc, Value *V1, Value *V2, 301 static BinaryOperator *CreateNUW(BinaryOps Opc, Value *V1, Value *V2, 309 static BinaryOperator *CreateExact(BinaryOps Opc, Value *V1, Value *V2, 316 static BinaryOperator *CreateExact(BinaryOps Opc, Value *V1, Value *V2, [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InstSimplifyFolder.h | 52 Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, in FoldBinOp() 57 Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldExactBinOp() 62 Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldNoWrapBinOp() 67 Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldBinOpFMF()
|
| H A D | TargetFolder.h | 55 Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, in FoldBinOp() 67 Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldExactBinOp() 80 Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldNoWrapBinOp() 98 Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldBinOpFMF()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 1185 static llvm::Instruction::BinaryOps getLLVMBinaryOp(Instruction::Opcode Opc) { in getLLVMBinaryOp() 1188 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::Add); in getLLVMBinaryOp() 1190 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::FAdd); in getLLVMBinaryOp() 1192 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::Sub); in getLLVMBinaryOp() 1194 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::FSub); in getLLVMBinaryOp() 1196 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::Mul); in getLLVMBinaryOp() 1198 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::FMul); in getLLVMBinaryOp() 1200 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::UDiv); in getLLVMBinaryOp() 1202 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::SDiv); in getLLVMBinaryOp() 1204 return static_cast<llvm::Instruction::BinaryOps>(llvm::Instruction::FDiv); in getLLVMBinaryOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| H A D | Operations.h | 47 Instruction::BinaryOps Op);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 450 Instruction::BinaryOps Opcode = I.getOpcode(); in SimplifyAssociativeOrCommutative() 618 static bool leftDistributesOverRight(Instruction::BinaryOps LOp, in leftDistributesOverRight() 619 Instruction::BinaryOps ROp) { in leftDistributesOverRight() 639 static bool rightDistributesOverLeft(Instruction::BinaryOps LOp, in rightDistributesOverLeft() 640 Instruction::BinaryOps ROp) { in rightDistributesOverLeft() 654 static Value *getIdentityValue(Instruction::BinaryOps Opcode, Value *V) { in getIdentityValue() 666 static Instruction::BinaryOps 667 getBinOpsForFactorization(Instruction::BinaryOps TopOpcode, BinaryOperator *Op, in getBinOpsForFactorization() 697 Instruction::BinaryOps InnerOpcode, Value *A, in tryFactorization() 704 Instruction::BinaryOps TopLevelOpcode = I.getOpcode(); in tryFactorization() [all …]
|
| H A D | InstCombineShifts.cpp | 96 Instruction::BinaryOps ShiftOpcode = Sh0->getOpcode(); in reassociateShiftAmtsOfTwoSameDirectionShifts() 153 if (ShiftOpcode == Instruction::BinaryOps::Shl) { in reassociateShiftAmtsOfTwoSameDirectionShifts() 192 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput() 363 Instruction::BinaryOps ShiftOpcode = I.getOpcode(); in foldShiftOfShiftedBinOp() 1159 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitShl() 1329 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitLShr()
|
| H A D | InstCombineInternal.h | 275 bool OptimizeOverflowCheck(Instruction::BinaryOps BinaryOp, bool IsSigned, 370 bool willNotOverflow(BinaryOperator::BinaryOps Opcode, const Value *LHS, in willNotOverflow() 510 Instruction::BinaryOps BinaryOp, bool IsSigned,
|
| H A D | InstCombineAndOrXor.cpp | 1657 Instruction::BinaryOps Opcode = BO.getOpcode(); in reassociateFCmps() 1698 const Instruction::BinaryOps Opcode = I.getOpcode(); in matchDeMorgansLaws() 1703 const Instruction::BinaryOps FlippedOpcode = in matchDeMorgansLaws() 1991 Instruction::BinaryOps Opc = cast<BinaryOperator>(Op0)->getOpcode(); in narrowMaskedBinOp() 2008 const Instruction::BinaryOps Opcode = I.getOpcode(); in foldComplexAndOrPatterns() 2012 const Instruction::BinaryOps FlippedOpcode = in foldComplexAndOrPatterns() 2151 Instruction::BinaryOps Opcode = BO.getOpcode(); in reassociateForUses() 2185 Instruction::BinaryOps OpC = I.getOpcode(); in canonicalizeLogicFirst() 2246 Instruction::BinaryOps ShiftOp = in foldBinOpOfDisplacedShifts() 2247 static_cast<Instruction::BinaryOps>(Op0Inst->getOpcode()); in foldBinOpOfDisplacedShifts() [all …]
|
| H A D | InstCombineVectorOps.cpp | 2129 BinaryOperator::BinaryOps Opcode; 2132 BinopElts(BinaryOperator::BinaryOps Opc = (BinaryOperator::BinaryOps)0, in BinopElts() 2244 BinaryOperator::BinaryOps BOpcode = BO->getOpcode(); in foldSelectShuffleWith1Binop() 2370 BinaryOperator::BinaryOps Opc0 = B0->getOpcode(); in foldSelectShuffle() 2371 BinaryOperator::BinaryOps Opc1 = B1->getOpcode(); in foldSelectShuffle() 2394 BinaryOperator::BinaryOps BOpc = Opc0; in foldSelectShuffle()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationPlanner.h | 200 return createInstruction(Instruction::BinaryOps::And, {LHS, RHS}, DL, Name); 208 Instruction::BinaryOps::Or, {LHS, RHS}, 307 createScalarIVSteps(Instruction::BinaryOps InductionOpcode, in createScalarIVSteps()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InductiveRangeCheckElimination.cpp | 348 if (SE.willNotOverflow(Instruction::BinaryOps::Add, Signed, RHSS, One)) { in parseIvAgaisntLimit() 424 auto getExprScaledIfOverflow = [&](Instruction::BinaryOps BinOp, in reassociateSubLHS() 458 Limit = getExprScaledIfOverflow(Instruction::BinaryOps::Add, Offset, Limit); in reassociateSubLHS() 461 Limit = getExprScaledIfOverflow(Instruction::BinaryOps::Sub, Offset, Limit); in reassociateSubLHS() 468 Limit = getExprScaledIfOverflow(Instruction::BinaryOps::Add, Limit, in reassociateSubLHS()
|
| H A D | Float2Int.cpp | 78 static Instruction::BinaryOps mapBinOpcode(unsigned Opcode) { in mapBinOpcode() 267 auto BinOp = (Instruction::BinaryOps) I->getOpcode(); in calcRange()
|
| H A D | CorrelatedValuePropagation.cpp | 469 static void setDeducedOverflowingFlags(Value *V, Instruction::BinaryOps Opcode, in setDeducedOverflowingFlags() 631 Instruction::BinaryOps Opcode = WO->getBinaryOp(); in processOverflowIntrinsic() 656 Instruction::BinaryOps Opcode = SI->getBinaryOp(); in processSaturatingInst() 1178 Instruction::BinaryOps Opcode = BinOp->getOpcode(); in processBinOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandReductions.cpp | 85 Rdx = Builder.CreateBinOp((Instruction::BinaryOps)RdxOpcode, Acc, Rdx, in expandReductions()
|
| H A D | ExpandVectorPredication.cpp | 236 auto OC = static_cast<Instruction::BinaryOps>(*VPI.getFunctionalOpcode()); in expandPredicationInBinaryOperator() 367 Builder.CreateBinOp((Instruction::BinaryOps)Opc, Reduction, Start); in expandPredicationInReduction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetTransformInfo.cpp | 152 std::optional<Instruction::BinaryOps> BinaryOp; in convertNvvmIntrinsicToLlvm() 170 SimplifyAction(Instruction::BinaryOps BinaryOp, FtzRequirementTy FtzReq) in convertNvvmIntrinsicToLlvm()
|
| H A D | NVPTXGenericToNVVM.cpp | 261 return Builder.CreateBinOp(Instruction::BinaryOps(C->getOpcode()), in remapConstantExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 921 BinaryOperator::Create((Instruction::BinaryOps)Opcode, in pushOutMulShl() 926 BinaryOperator::Create((Instruction::BinaryOps)Opcode, IncrementPerRound, in pushOutMulShl() 1061 Instruction::BinaryOps(IncInstruction->getOpcode()), Phi, in optimiseOffsets() 1073 Instruction::BinaryOps(IncInstruction->getOpcode()), NewPhi, in optimiseOffsets()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 389 Instruction::BinaryOps Opc, const Value *Lhs, const Value *Rhs, 395 Instruction::BinaryOps Opc, BranchProbability TProb,
|