/freebsd/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 | 97 const Environment &Env1, Value &Val2, in compareDistinctValues() argument 106 switch (Model.compare(Type, Val1, Env1, Val2, Env2)) { in compareDistinctValues() 122 const Environment &Env1, Value &Val2, in joinDistinctValues() argument 128 if (isa<BoolValue>(&Val1) && isa<BoolValue>(&Val2)) { in joinDistinctValues() 143 auto &Expr2 = cast<BoolValue>(Val2).formula(); in joinDistinctValues() 156 Model.join(Type, Val1, Env1, Val2, Env2, *JoinedVal, JoinedEnv); in joinDistinctValues() 814 const Environment &Env1, Value *Val2, in joinValues() argument 817 if (Val1 == nullptr || Val2 == nullptr) in joinValues() 824 if (areEquivalentValues(*Val1, *Val2)) in joinValues() 828 return joinDistinctValues(Ty, *Val1, Env1, *Val2, Env2, JoinedEnv, Model); in joinValues()
|
H A D | DataflowAnalysisContext.cpp | 206 const Formula &Val2) { in equivalentFormulas() argument 208 Constraints.insert(&arena().makeNot(arena().makeEquals(Val1, Val2))); in equivalentFormulas()
|
/freebsd/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/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGAtomic.cpp | 379 Address Val1, Address Val2, in emitAtomicCmpXchg() argument 386 llvm::Value *Desired = CGF.Builder.CreateLoad(Val2); in emitAtomicCmpXchg() 428 Address Val1, Address Val2, in emitAtomicCmpXchgFailureSet() argument 459 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 484 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, in emitAtomicCmpXchgFailureSet() 489 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 494 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 526 Address Ptr, Address Val1, Address Val2, in EmitAtomicOp() argument 542 emitAtomicCmpXchgFailureSet(CGF, E, false, Dest, Ptr, Val1, Val2, in EmitAtomicOp() 548 emitAtomicCmpXchgFailureSet(CGF, E, true, Dest, Ptr, Val1, Val2, in EmitAtomicOp() [all …]
|
H A D | CodeGenFunction.h | 229 DominatingLLVMValue::saved_type Val2) 230 : Vals{Val1, Val2}, K(ComplexAddress) {}
|
/freebsd/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 | 795 auto *Val2 = mdconst::dyn_extract<ConstantInt>(*CallsiteStackIter); in haveCommonPrefix() local 796 assert(Val1 && Val2); in haveCommonPrefix() 797 if (Val1->getZExtValue() != Val2->getZExtValue()) in haveCommonPrefix()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 1591 APFloat Val2 = APFloat(Val); in isValueValidForType() local 1599 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType() 1601 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1605 if (&Val2.getSemantics() == &APFloat::BFloat()) in isValueValidForType() 1607 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1611 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType() 1613 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1617 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType() 1618 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType() 1619 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ArrayBoundCheckerV2.cpp | 391 std::optional<int64_t> &Val2, int64_t Divisor) { in tryDividePair() argument 395 const bool Val2HasRemainder = Val2 && *Val2 % Divisor; in tryDividePair() 399 if (Val2) in tryDividePair() 400 *Val2 /= Divisor; in tryDividePair()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | DataflowEnvironment.h | 88 const Environment &Env1, const Value &Val2, in compare() argument 110 const Value &Val2, const Environment &Env2, in join() argument 269 Value *Val2, const Environment &Env2,
|
H A D | Value.h | 91 bool areEquivalentValues(const Value &Val1, const Value &Val2);
|
H A D | DataflowAnalysisContext.h | 167 bool equivalentFormulas(const Formula &Val1, const Formula &Val2);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURegBankCombiner.cpp | 76 Register Val0, Val1, Val2; member 362 getAsVgpr(MatchInfo.Val2)}, in applyMed3()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProf.h | 777 static inline double score(uint64_t Val1, uint64_t Val2, double Sum1, in score() 781 return std::min(Val1 / Sum1, Val2 / Sum2); in score()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 3105 SDValue Val2 = Ins2.getOperand(1); in tryInsertVectorElt() local 3106 if (Val1.getOpcode() == ISD::FP_ROUND || Val2.getOpcode() == ISD::FP_ROUND) in tryInsertVectorElt() 3112 (Val2.getOpcode() == ISD::EXTRACT_VECTOR_ELT || in tryInsertVectorElt() 3113 Val2.getOpcode() == ARMISD::VGETLANEu) && in tryInsertVectorElt() 3115 isa<ConstantSDNode>(Val2.getOperand(1)) && in tryInsertVectorElt() 3118 (Val2.getOperand(0).getValueType() == MVT::v8f16 || in tryInsertVectorElt() 3119 Val2.getOperand(0).getValueType() == MVT::v8i16)) { in tryInsertVectorElt() 3121 unsigned ExtractLane2 = Val2.getConstantOperandVal(1); in tryInsertVectorElt() 3125 if (Val1.getOperand(0) == Val2.getOperand(0) && ExtractLane2 % 2 == 0 && in tryInsertVectorElt() 3142 ARM::ssub_0 + ExtractLane2 / 2, dl, MVT::f32, Val2.getOperand(0)); in tryInsertVectorElt() [all …]
|
H A D | ARMBaseInstrInfo.h | 886 bool HasLowerConstantMaterializationCost(unsigned Val1, unsigned Val2,
|
H A D | ARMBaseInstrInfo.cpp | 5663 bool llvm::HasLowerConstantMaterializationCost(unsigned Val1, unsigned Val2, in HasLowerConstantMaterializationCost() argument 5668 unsigned Cost2 = ConstantMaterializationCost(Val2, Subtarget, ForCodesize); in HasLowerConstantMaterializationCost() 5676 ConstantMaterializationCost(Val2, Subtarget, !ForCodesize); in HasLowerConstantMaterializationCost()
|
H A D | ARMISelLowering.cpp | 5353 int64_t Val2 = cast<ConstantSDNode>(K2)->getSExtValue(); in LowerSaturatingConditional() local 5354 int64_t PosVal = std::max(Val1, Val2); in LowerSaturatingConditional() 5355 int64_t NegVal = std::min(Val1, Val2); in LowerSaturatingConditional() 5357 if (!((Val1 > Val2 && isLTorLE(CC1)) || (Val1 < Val2 && isLTorLE(CC2))) || in LowerSaturatingConditional() 5366 if (Val1 == ~Val2) in LowerSaturatingConditional()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 2279 const APInt *Val, *Val2; in visitCallInst() local 2286 match(Other->getArgOperand(1), m_APInt(Val2))) { in visitCallInst() 2288 NewVal = Val->uadd_sat(*Val2); in visitCallInst() 2289 else if (Val->isNonNegative() == Val2->isNonNegative()) { in visitCallInst() 2291 NewVal = Val->sadd_ov(*Val2, Overflow); in visitCallInst()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTStructuralEquivalence.cpp | 1910 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent() local 1911 if (!llvm::APSInt::isSameValue(Val1, Val2) || in IsStructurallyEquivalent()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 18719 APInt Val1, Val2; in tryCombineToBSL() local 18722 ISD::isConstantSplatVector(N1->getOperand(j).getNode(), Val2) && in tryCombineToBSL() 18723 (BitMask & ~Val1.getZExtValue()) == Val2.getZExtValue()) { in tryCombineToBSL() 19874 SDValue Val2 = Op2.getOperand(0); in performAddUADDVCombine() local 19877 SDValue AddVal = DAG.getNode(ISD::ADD, DL, ValVT, Val1, Val2); in performAddUADDVCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 133 APFloat Val2 = APFloat(Val); in isValueValidForType() local 135 (void) Val2.convert(SelectionDAG::EVTToAPFloatSemantics(VT), in isValueValidForType()
|