| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | Value.cpp | 20 static bool areEquivalentIndirectionValues(const Value &Val1, in areEquivalentIndirectionValues() argument 22 if (auto *IndVal1 = dyn_cast<PointerValue>(&Val1)) { in areEquivalentIndirectionValues() 29 bool areEquivalentValues(const Value &Val1, const Value &Val2) { in areEquivalentValues() argument 30 if (&Val1 == &Val2) in areEquivalentValues() 32 if (Val1.getKind() != Val2.getKind()) in areEquivalentValues() 36 if (!Val1.properties().empty() || !Val2.properties().empty()) in areEquivalentValues() 38 if (isa<TopBoolValue>(&Val1)) in areEquivalentValues() 40 return areEquivalentIndirectionValues(Val1, Val2); in areEquivalentValues()
|
| H A D | DataflowEnvironment.cpp | 68 static bool compareDistinctValues(QualType Type, Value &Val1, in compareDistinctValues() argument 78 switch (Model.compare(Type, Val1, Env1, Val2, Env2)) { in compareDistinctValues() 84 return equateUnknownValues(Val1.getKind()); in compareDistinctValues() 93 static Value *mergeDistinctValues(QualType Type, Value &Val1, in mergeDistinctValues() argument 100 if (isa<BoolValue>(&Val1) && isa<BoolValue>(&Val2)) { in mergeDistinctValues() 114 auto &Expr1 = cast<BoolValue>(Val1).formula(); in mergeDistinctValues() 127 if (auto *RecordVal1 = dyn_cast<RecordValue>(&Val1)) { in mergeDistinctValues() 148 if (Model.merge(Type, Val1, Env1, Val2, Env2, *MergedVal, MergedEnv)) in mergeDistinctValues()
|
| H A D | DataflowAnalysisContext.cpp | 204 bool DataflowAnalysisContext::equivalentFormulas(const Formula &Val1, in equivalentFormulas() argument 207 Constraints.insert(&arena().makeNot(arena().makeEquals(Val1, Val2))); in equivalentFormulas()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | BypassSlowDivision.h | 42 static bool isEqual(const DivRemMapKey &Val1, const DivRemMapKey &Val2) { 43 return Val1.SignedOp == Val2.SignedOp && Val1.Dividend == Val2.Dividend && 44 Val1.Divisor == Val2.Divisor;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 382 llvm::Value *Expected = CGF.Builder.CreateLoad(Val1); in emitAtomicCmpXchg() 411 CGF.Builder.CreateStore(Old, Val1); in emitAtomicCmpXchg() 725 llvm::Value *LoadVal1 = CGF.Builder.CreateLoad(Val1); in EmitAtomicOp() 844 Address Val1 = Address::invalid(); in EmitAtomicExpr() local 904 Val1 = EmitPointerWithAlignment(E->getVal1()); in EmitAtomicExpr() 909 Val1 = EmitPointerWithAlignment(E->getVal1()); in EmitAtomicExpr() 923 Val1 = EmitPointerWithAlignment(E->getVal1()); in EmitAtomicExpr() 954 Val1 = Temp; in EmitAtomicExpr() 1020 Val1 = EmitValToTemp(*this, E->getVal1()); in EmitAtomicExpr() 1034 if (Val1.isValid()) in EmitAtomicExpr() [all …]
|
| H A D | CGBuiltin.cpp | 8506 Value *Val1 = Builder.CreateExtractValue(Val, 0); in EmitARMBuiltinExpr() local 8508 Val1 = Builder.CreateZExt(Val1, Int64Ty); in EmitARMBuiltinExpr() 8512 Val = Builder.CreateOr(Val, Val1); in EmitARMBuiltinExpr() 10857 Value *Val1 = Builder.CreateExtractValue(Val, 0); in EmitAArch64BuiltinExpr() local 10860 Val1 = Builder.CreateZExt(Val1, Int128Ty); in EmitAArch64BuiltinExpr() 10864 Val = Builder.CreateOr(Val, Val1); in EmitAArch64BuiltinExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 375 Value *Val1 = getRandomValue(Val0->getType()); in Act() local 379 Val1->getType()->isPointerTy()) in Act() 408 PT->push_back(BinaryOperator::Create(Op, Val0, Val1, "B", Term)); in Act() 496 Value *Val1 = getRandomValue(Val0->getType()); in Act() local 516 Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff", in Act() 528 Value *Val1 = getRandomValue(Val0->getType()->getScalarType()); in Act() local 531 Val0, Val1, in Act() 623 Value *Val1 = getRandomValue(Val0->getType()); in Act() local 634 Value *V = SelectInst::Create(Cond, Val0, Val1, "Sl", BB->getTerminator()); in Act() 645 Value *Val1 = getRandomValue(Val0->getType()); in Act() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GTestChecker.cpp | 117 static ProgramStateRef assumeValuesEqual(SVal Val1, SVal Val2, 269 ProgramStateRef GTestChecker::assumeValuesEqual(SVal Val1, SVal Val2, in assumeValuesEqual() argument 272 auto DVal1 = Val1.getAs<DefinedOrUnknownSVal>(); in assumeValuesEqual()
|
| H A D | MismatchedIteratorChecker.cpp | 39 void reportBug(StringRef Message, SVal Val1, SVal Val2, CheckerContext &C, 269 void MismatchedIteratorChecker::reportBug(StringRef Message, SVal Val1, in reportBug() argument 274 R->markInteresting(Val1); in reportBug()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.h | 76 virtual ComparisonResult compare(QualType Type, const Value &Val1, in compare() argument 101 virtual bool merge(QualType Type, const Value &Val1, in merge() argument
|
| H A D | Value.h | 93 bool areEquivalentValues(const Value &Val1, const Value &Val2);
|
| H A D | DataflowAnalysisContext.h | 179 bool equivalentFormulas(const Formula &Val1, const Formula &Val2);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegBankCombiner.cpp | 76 Register Val0, Val1, Val2; member 363 {getAsVgpr(MatchInfo.Val0), getAsVgpr(MatchInfo.Val1), in applyMed3()
|
| H A D | AMDGPUInstCombineIntrinsic.cpp | 643 APFloat Val1 = C1->getValueAPF(); in instCombineIntrinsic() local 645 Val1.convert(HalfSem, APFloat::rmTowardZero, &LosesInfo); in instCombineIntrinsic() 649 ConstantFP::get(II.getContext(), Val1)}); in instCombineIntrinsic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 646 static inline double score(uint64_t Val1, uint64_t Val2, double Sum1, in score() 650 return std::min(Val1 / Sum1, Val2 / Sum2); in score()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 3103 SDValue Val1 = Ins1.getOperand(1); in tryInsertVectorElt() local 3109 if ((Val1.getOpcode() == ISD::EXTRACT_VECTOR_ELT || in tryInsertVectorElt() 3110 Val1.getOpcode() == ARMISD::VGETLANEu) && in tryInsertVectorElt() 3113 isa<ConstantSDNode>(Val1.getOperand(1)) && in tryInsertVectorElt() 3115 (Val1.getOperand(0).getValueType() == MVT::v8f16 || in tryInsertVectorElt() 3116 Val1.getOperand(0).getValueType() == MVT::v8i16) && in tryInsertVectorElt() 3119 unsigned ExtractLane1 = Val1.getConstantOperandVal(1); in tryInsertVectorElt() 3124 if (Val1.getOperand(0) == Val2.getOperand(0) && ExtractLane2 % 2 == 0 && in tryInsertVectorElt() 3127 ARM::ssub_0 + ExtractLane2 / 2, dl, MVT::f32, Val1.getOperand(0)); in tryInsertVectorElt() 4816 SDValue Val1 = N->getOperand(3); in Select() local [all …]
|
| H A D | ARMBaseInstrInfo.h | 867 bool HasLowerConstantMaterializationCost(unsigned Val1, unsigned Val2,
|
| H A D | ARMBaseInstrInfo.cpp | 5662 bool llvm::HasLowerConstantMaterializationCost(unsigned Val1, unsigned Val2, in HasLowerConstantMaterializationCost() argument 5666 unsigned Cost1 = ConstantMaterializationCost(Val1, Subtarget, ForCodesize); in HasLowerConstantMaterializationCost() 5674 return ConstantMaterializationCost(Val1, Subtarget, !ForCodesize) < in HasLowerConstantMaterializationCost()
|
| H A D | ARMISelLowering.cpp | 5335 int64_t Val1 = cast<ConstantSDNode>(K1)->getSExtValue(); in LowerSaturatingConditional() local 5337 int64_t PosVal = std::max(Val1, Val2); in LowerSaturatingConditional() 5338 int64_t NegVal = std::min(Val1, Val2); in LowerSaturatingConditional() 5340 if (!((Val1 > Val2 && isLTorLE(CC1)) || (Val1 < Val2 && isLTorLE(CC2))) || in LowerSaturatingConditional() 5349 if (Val1 == ~Val2) in LowerSaturatingConditional()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 140 Value *vdeal(IRBuilderBase &Builder, Value *Val0, Value *Val1) const; 141 Value *vshuff(IRBuilderBase &Builder, Value *Val0, Value *Val1) const; 2543 Value *Val1) const -> Value * { in vdeal() 2544 assert(Val0->getType() == Val1->getType()); in vdeal() 2552 return Builder.CreateShuffleVector(Val0, Val1, Mask, "shf"); in vdeal() 2556 Value *Val1) const -> Value * { // in vshuff() 2557 assert(Val0->getType() == Val1->getType()); in vshuff() 2565 return Builder.CreateShuffleVector(Val0, Val1, Mask, "shf"); in vshuff()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 3996 Constant *Val0, *Val1; in parseValID() local 4002 parseGlobalTypeAndValue(Val1) || in parseValID() 4006 if (Val0->getType() != Val1->getType()) in parseValID() 4014 ID.ConstantVal = ConstantExpr::getFCmp(Pred, Val0, Val1); in parseValID() 4035 Constant *Val0, *Val1; in parseValID() local 4050 parseGlobalTypeAndValue(Val1) || in parseValID() 4053 if (Val0->getType() != Val1->getType()) in parseValID() 8084 Value *Val0, *Val1; LocTy Loc0, Loc1; in parseInsertValue() local 8089 parseTypeAndValue(Val1, Loc1, PFS) || in parseInsertValue() 8099 if (IndexedType != Val1->getType()) in parseInsertValue() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 791 auto *Val1 = mdconst::dyn_extract<ConstantInt>(*MIBStackIter); in haveCommonPrefix() local 793 assert(Val1 && Val2); in haveCommonPrefix() 794 if (Val1->getZExtValue() != Val2->getZExtValue()) in haveCommonPrefix()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 1875 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent() local 1877 if (!llvm::APSInt::isSameValue(Val1, Val2) || in IsStructurallyEquivalent()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 18709 SDValue Val1 = Op1.getOperand(0); in performAddUADDVCombine() local 18711 EVT ValVT = Val1->getValueType(0); in performAddUADDVCombine() 18713 SDValue AddVal = DAG.getNode(ISD::ADD, DL, ValVT, Val1, Val2); in performAddUADDVCombine()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 42142 uint64_t Val1 = Cst1->getZExtValue(); in SimplifyDemandedBitsForTargetNode() local 42143 uint64_t MaskedVal1 = Val1 & 0xFFFF; in SimplifyDemandedBitsForTargetNode() 42144 if (Opc == X86ISD::BEXTR && MaskedVal1 != Val1) { in SimplifyDemandedBitsForTargetNode()
|