| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | Value.cpp | 21 const Value &Val2) { in areEquivalentIndirectionValues() argument 23 auto *IndVal2 = cast<PointerValue>(&Val2); 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() 40 return areEquivalentIndirectionValues(Val1, Val2); in areEquivalentValues()
|
| H A D | DataflowEnvironment.cpp | 69 const Environment &Env1, Value &Val2, in compareDistinctValues() argument 78 switch (Model.compare(Type, Val1, Env1, Val2, Env2)) { in compareDistinctValues() 94 const Environment &Env1, Value &Val2, in mergeDistinctValues() argument 100 if (isa<BoolValue>(&Val1) && isa<BoolValue>(&Val2)) { in mergeDistinctValues() 115 auto &Expr2 = cast<BoolValue>(Val2).formula(); in mergeDistinctValues() 128 auto *RecordVal2 = cast<RecordValue>(&Val2); in mergeDistinctValues() 148 if (Model.merge(Type, Val1, Env1, Val2, Env2, *MergedVal, MergedEnv)) in mergeDistinctValues()
|
| H A D | DataflowAnalysisContext.cpp | 205 const Formula &Val2) { 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 | 376 Address Val1, Address Val2, in emitAtomicCmpXchg() argument 383 llvm::Value *Desired = CGF.Builder.CreateLoad(Val2); in emitAtomicCmpXchg() 425 Address Val1, Address Val2, in emitAtomicCmpXchgFailureSet() argument 481 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, in emitAtomicCmpXchgFailureSet() 523 Address Ptr, Address Val1, Address Val2, in EmitAtomicOp() argument 757 Address Ptr, Address Val1, Address Val2, in EmitAtomicOp() argument 845 Address Val2 = Address::invalid(); in EmitAtomicExpr() local 926 Val2 = EmitPointerWithAlignment(E->getVal2()); in EmitAtomicExpr() 928 Val2 = EmitValToTemp(*this, E->getVal2()); in EmitAtomicExpr() 1036 if (Val2.isValid()) in EmitAtomicExpr() [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 273 auto DVal2 = Val2.getAs<DefinedOrUnknownSVal>(); in assumeValuesEqual()
|
| H A D | MismatchedIteratorChecker.cpp | 39 void reportBug(StringRef Message, SVal Val1, SVal Val2, CheckerContext &C, 270 SVal Val2, CheckerContext &C, in reportBug() argument 275 R->markInteresting(Val2); in reportBug()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 85 float Val2) { in createOrCond() argument 87 auto Cond2 = createCond(BBBuilder, Arg2, Cmp2, Val2); in createOrCond() 94 CmpInst::Predicate Cmp2, float Val2) { in createOrCond() argument 96 return createOrCond(CI, Arg, Cmp, Val, Arg, Cmp2, Val2); in createOrCond()
|
| H A D | InlineFunction.cpp | 792 auto *Val2 = mdconst::dyn_extract<ConstantInt>(*CallsiteStackIter); in haveCommonPrefix() local 793 assert(Val1 && Val2); in haveCommonPrefix() 794 if (Val1->getZExtValue() != Val2->getZExtValue()) in haveCommonPrefix()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 1520 APFloat Val2 = APFloat(Val); in isValueValidForType() local 1528 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType() 1534 if (&Val2.getSemantics() == &APFloat::BFloat()) in isValueValidForType() 1540 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType() 1546 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType() 1547 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType() 1549 &Val2.getSemantics() == &APFloat::IEEEdouble()) in isValueValidForType() 1556 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType() 1562 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType() 1565 &Val2.getSemantics() == &APFloat::IEEEquad(); in isValueValidForType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.h | 77 const Environment &Env1, const Value &Val2, in compare() argument 102 const Environment &Env1, const Value &Val2, 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 364 getAsVgpr(MatchInfo.Val2)}, in applyMed3()
|
| /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 | 3104 SDValue Val2 = Ins2.getOperand(1); in tryInsertVectorElt() local 3105 if (Val1.getOpcode() == ISD::FP_ROUND || Val2.getOpcode() == ISD::FP_ROUND) in tryInsertVectorElt() 3111 (Val2.getOpcode() == ISD::EXTRACT_VECTOR_ELT || in tryInsertVectorElt() 3112 Val2.getOpcode() == ARMISD::VGETLANEu) && in tryInsertVectorElt() 3114 isa<ConstantSDNode>(Val2.getOperand(1)) && in tryInsertVectorElt() 3117 (Val2.getOperand(0).getValueType() == MVT::v8f16 || in tryInsertVectorElt() 3118 Val2.getOperand(0).getValueType() == MVT::v8i16)) { in tryInsertVectorElt() 3120 unsigned ExtractLane2 = Val2.getConstantOperandVal(1); in tryInsertVectorElt() 3124 if (Val1.getOperand(0) == Val2.getOperand(0) && ExtractLane2 % 2 == 0 && in tryInsertVectorElt() 3141 ARM::ssub_0 + ExtractLane2 / 2, dl, MVT::f32, Val2.getOperand(0)); in tryInsertVectorElt() [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 5667 unsigned Cost2 = ConstantMaterializationCost(Val2, Subtarget, ForCodesize); in HasLowerConstantMaterializationCost() 5675 ConstantMaterializationCost(Val2, Subtarget, !ForCodesize); in HasLowerConstantMaterializationCost()
|
| H A D | ARMISelLowering.cpp | 5336 int64_t Val2 = cast<ConstantSDNode>(K2)->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/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2172 const APInt *Val, *Val2; in visitCallInst() local 2179 match(Other->getArgOperand(1), m_APInt(Val2))) { in visitCallInst() 2181 NewVal = Val->uadd_sat(*Val2); in visitCallInst() 2182 else if (Val->isNonNegative() == Val2->isNonNegative()) { in visitCallInst() 2184 NewVal = Val->sadd_ov(*Val2, Overflow); in visitCallInst()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 1876 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent() local 1877 if (!llvm::APSInt::isSameValue(Val1, Val2) || in IsStructurallyEquivalent()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 131 APFloat Val2 = APFloat(Val); in isValueValidForType() local 133 (void) Val2.convert(SelectionDAG::EVTToAPFloatSemantics(VT), in isValueValidForType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 18710 SDValue Val2 = Op2.getOperand(0); in performAddUADDVCombine() local 18713 SDValue AddVal = DAG.getNode(ISD::ADD, DL, ValVT, Val1, Val2); in performAddUADDVCombine()
|