| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | Value.cpp | 19 const Value &Val2) { in areEquivalentIndirectionValues() argument 21 auto *IndVal2 = cast<PointerValue>(&Val2); in areEquivalentIndirectionValues() 27 bool areEquivalentValues(const Value &Val1, const Value &Val2) { in areEquivalentValues() argument 28 if (&Val1 == &Val2) in areEquivalentValues() 30 if (Val1.getKind() != Val2.getKind()) in areEquivalentValues() 34 if (!Val1.properties().empty() || !Val2.properties().empty()) in areEquivalentValues() 38 return areEquivalentIndirectionValues(Val1, Val2); in areEquivalentValues()
|
| H A D | DataflowEnvironment.cpp | 95 const Environment &Env1, Value &Val2, in compareDistinctValues() argument 104 switch (Model.compare(Type, Val1, Env1, Val2, Env2)) { in compareDistinctValues() 120 const Environment &Env1, Value &Val2, in joinDistinctValues() argument 126 if (isa<BoolValue>(&Val1) && isa<BoolValue>(&Val2)) { in joinDistinctValues() 141 auto &Expr2 = cast<BoolValue>(Val2).formula(); in joinDistinctValues() 154 Model.join(Type, Val1, Env1, Val2, Env2, *JoinedVal, JoinedEnv); in joinDistinctValues() 813 const Environment &Env1, Value *Val2, in joinValues() argument 816 if (Val1 == nullptr || Val2 == nullptr) in joinValues() 823 if (areEquivalentValues(*Val1, *Val2)) in joinValues() 827 return joinDistinctValues(Ty, *Val1, Env1, *Val2, Env2, JoinedEnv, Model); in joinValues()
|
| H A D | DataflowAnalysisContext.cpp | 205 const Formula &Val2) { in equivalentFormulas() argument 207 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 | 378 Address Val1, Address Val2, in emitAtomicCmpXchg() argument 385 llvm::Value *Desired = CGF.Builder.CreateLoad(Val2); in emitAtomicCmpXchg() 430 Address Val1, Address Val2, in emitAtomicCmpXchgFailureSet() argument 461 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 486 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, in emitAtomicCmpXchgFailureSet() 491 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 496 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 528 Address Ptr, Address Val1, Address Val2, in EmitAtomicOp() argument 544 emitAtomicCmpXchgFailureSet(CGF, E, false, Dest, Ptr, Val1, Val2, in EmitAtomicOp() 550 emitAtomicCmpXchgFailureSet(CGF, E, true, Dest, Ptr, Val1, Val2, in EmitAtomicOp() [all …]
|
| H A D | CodeGenFunction.h | 205 DominatingLLVMValue::saved_type Val2) 206 : Vals{Val1, Val2}, K(ComplexAddress) {}
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MismatchedIteratorChecker.cpp | 39 void reportBug(StringRef Message, SVal Val1, SVal Val2, CheckerContext &C, 276 SVal Val2, CheckerContext &C, in reportBug() argument 281 R->markInteresting(Val2); in reportBug()
|
| H A D | ArrayBoundChecker.cpp | 408 std::optional<int64_t> &Val2, int64_t Divisor) { in tryDividePair() argument 412 const bool Val2HasRemainder = Val2 && *Val2 % Divisor; in tryDividePair() 417 if (Val2) in tryDividePair() 418 *Val2 /= Divisor; in tryDividePair()
|
| /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 | 814 auto *Val2 = mdconst::dyn_extract<ConstantInt>(*CallsiteStackIter); in haveCommonPrefix() local 815 assert(Val1 && Val2); in haveCommonPrefix() 816 if (Val1->getZExtValue() != Val2->getZExtValue()) in haveCommonPrefix()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 1617 APFloat Val2 = APFloat(Val); in isValueValidForType() local 1625 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType() 1627 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1631 if (&Val2.getSemantics() == &APFloat::BFloat()) in isValueValidForType() 1633 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1637 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType() 1639 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1643 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType() 1644 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType() 1645 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType() [all …]
|
| /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 | 74 Register Val0, Val1, Val2; member 362 getAsVgpr(MatchInfo.Val2)}, in applyMed3()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 838 static inline double score(uint64_t Val1, uint64_t Val2, double Sum1, in score() 842 return std::min(Val1 / Sum1, Val2 / Sum2); in score()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 3096 SDValue Val2 = Ins2.getOperand(1); in tryInsertVectorElt() local 3097 if (Val1.getOpcode() == ISD::FP_ROUND || Val2.getOpcode() == ISD::FP_ROUND) in tryInsertVectorElt() 3103 (Val2.getOpcode() == ISD::EXTRACT_VECTOR_ELT || in tryInsertVectorElt() 3104 Val2.getOpcode() == ARMISD::VGETLANEu) && in tryInsertVectorElt() 3106 isa<ConstantSDNode>(Val2.getOperand(1)) && in tryInsertVectorElt() 3109 (Val2.getOperand(0).getValueType() == MVT::v8f16 || in tryInsertVectorElt() 3110 Val2.getOperand(0).getValueType() == MVT::v8i16)) { in tryInsertVectorElt() 3112 unsigned ExtractLane2 = Val2.getConstantOperandVal(1); in tryInsertVectorElt() 3116 if (Val1.getOperand(0) == Val2.getOperand(0) && ExtractLane2 % 2 == 0 && in tryInsertVectorElt() 3133 ARM::ssub_0 + ExtractLane2 / 2, dl, MVT::f32, Val2.getOperand(0)); in tryInsertVectorElt() [all …]
|
| H A D | ARMBaseInstrInfo.h | 864 bool HasLowerConstantMaterializationCost(unsigned Val1, unsigned Val2,
|
| H A D | ARMBaseInstrInfo.cpp | 5510 bool llvm::HasLowerConstantMaterializationCost(unsigned Val1, unsigned Val2, in HasLowerConstantMaterializationCost() argument 5515 unsigned Cost2 = ConstantMaterializationCost(Val2, Subtarget, ForCodesize); in HasLowerConstantMaterializationCost() 5523 ConstantMaterializationCost(Val2, Subtarget, !ForCodesize); in HasLowerConstantMaterializationCost()
|
| H A D | ARMISelLowering.cpp | 5407 int64_t Val2 = cast<ConstantSDNode>(K2)->getSExtValue(); in LowerSaturatingConditional() local 5408 int64_t PosVal = std::max(Val1, Val2); in LowerSaturatingConditional() 5409 int64_t NegVal = std::min(Val1, Val2); in LowerSaturatingConditional() 5411 if (!((Val1 > Val2 && isLTorLE(CC1)) || (Val1 < Val2 && isLTorLE(CC2))) || in LowerSaturatingConditional() 5420 if (Val1 == ~Val2) in LowerSaturatingConditional()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2568 const APInt *Val, *Val2; in visitCallInst() local 2575 match(Other->getArgOperand(1), m_APInt(Val2))) { in visitCallInst() 2577 NewVal = Val->uadd_sat(*Val2); in visitCallInst() 2578 else if (Val->isNonNegative() == Val2->isNonNegative()) { in visitCallInst() 2580 NewVal = Val->sadd_ov(*Val2, Overflow); in visitCallInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXIL.td | 876 // Handle, Coord0, Coord1, Val0, Val1, Val2, Val3, Mask 1090 // Handle, Coord0, Coord1, Val0, Val1, Val2, Val3, Mask, Alignment
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 2173 llvm::APSInt Val2 = (*EC2)->getInitVal(); in IsStructurallyEquivalent() local 2174 if (!llvm::APSInt::isSameValue(Val1, Val2) || in IsStructurallyEquivalent()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 19362 APInt Val1, Val2; in tryCombineToBSL() local 19365 ISD::isConstantSplatVector(N1->getOperand(j).getNode(), Val2) && in tryCombineToBSL() 19366 (BitMask & ~Val1.getZExtValue()) == Val2.getZExtValue()) { in tryCombineToBSL() 20585 SDValue Val2 = Op2.getOperand(0); in performAddUADDVCombine() local 20588 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 | 140 APFloat Val2 = APFloat(Val); in isValueValidForType() local 142 (void)Val2.convert(VT.getFltSemantics(), APFloat::rmNearestTiesToEven, in isValueValidForType()
|