Home
last modified time | relevance | path

Searched refs:Val2 (Results 1 – 25 of 28) sorted by relevance

12

/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DValue.cpp21 const Value &Val2) { in areEquivalentIndirectionValues() argument
23 auto *IndVal2 = cast<ReferenceValue>(&Val2); in areEquivalentIndirectionValues()
27 auto *IndVal2 = cast<PointerValue>(&Val2); in areEquivalentIndirectionValues()
33 bool areEquivalentValues(const Value &Val1, const Value &Val2) { in areEquivalentValues() argument
34 return &Val1 == &Val2 || (Val1.getKind() == Val2.getKind() && in areEquivalentValues()
36 areEquivalentIndirectionValues(Val1, Val2))); in areEquivalentValues()
H A DDataflowEnvironment.cpp53 const Environment &Env1, Value &Val2, in compareDistinctValues() argument
62 switch (Model.compare(Type, Val1, Env1, Val2, Env2)) { in compareDistinctValues()
90 const Environment &Env1, Value &Val2, in mergeDistinctValues() argument
96 if (isa<BoolValue>(&Val1) && isa<BoolValue>(&Val2)) { in mergeDistinctValues()
111 auto *Expr2 = cast<BoolValue>(&Val2); in mergeDistinctValues()
126 if (Model.merge(Type, Val1, Env1, Val2, Env2, *MergedVal, MergedEnv)) in mergeDistinctValues()
H A DDataflowAnalysisContext.cpp219 BoolValue &Val2) { in equivalentBoolValues() argument
221 &getOrCreateNegation(getOrCreateIff(Val1, Val2))}; in equivalentBoolValues()
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DBypassSlowDivision.h42 static bool isEqual(const DivRemMapKey &Val1, const DivRemMapKey &Val2) {
43 return Val1.SignedOp == Val2.SignedOp && Val1.Dividend == Val2.Dividend &&
44 Val1.Divisor == Val2.Divisor;
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGAtomic.cpp376 Address Val1, Address Val2, in emitAtomicCmpXchg() argument
383 llvm::Value *Desired = CGF.Builder.CreateLoad(Val2); in emitAtomicCmpXchg()
426 Address Val1, Address Val2, in emitAtomicCmpXchgFailureSet() argument
482 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, in emitAtomicCmpXchgFailureSet()
522 Address Ptr, Address Val1, Address Val2, in EmitAtomicOp() argument
724 Address Ptr, Address Val1, Address Val2, in EmitAtomicOp() argument
814 Address Val2 = Address::invalid(); in EmitAtomicExpr() local
888 Val2 = EmitPointerWithAlignment(E->getVal2()); in EmitAtomicExpr()
890 Val2 = EmitValToTemp(*this, E->getVal2()); in EmitAtomicExpr()
977 if (Val2.isValid()) in EmitAtomicExpr()
[all …]
/openbsd/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.h58 const Environment &Env1, const Value &Val2,
62 const Value &Val2, const Environment &Env2, Value &MergedVal,
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp117 static ProgramStateRef assumeValuesEqual(SVal Val1, SVal Val2,
271 ProgramStateRef GTestChecker::assumeValuesEqual(SVal Val1, SVal Val2, in assumeValuesEqual() argument
275 auto DVal2 = Val2.getAs<DefinedOrUnknownSVal>(); in assumeValuesEqual()
H A DMismatchedIteratorChecker.cpp40 const SVal &Val2, CheckerContext &C,
282 const SVal &Val2, in reportBug() argument
288 R->markInteresting(Val2); in reportBug()
/openbsd/gnu/llvm/llvm/docs/TableGen/
H A DBackEnds.rst737 let Fields = ["Str", "Val1", "Val2"];
738 let PrimaryKey = ["Val1", "Val2"];
745 bits<10> Val2 = val2;
761 const AEntry *lookupATableByValues(uint8_t Val1, uint16_t Val2);
776 uint16_t Val2;
778 KeyType Key = { Val1, Val2 };
786 if (LHS.Val2 < RHS.Val2)
788 if (LHS.Val2 > RHS.Val2)
795 Key.Val2 != Idx->Val2)
883 let Fields = ["Str", "Val1", "Val2"];
[all …]
H A DBackGuide.rst744 list<string> Fields = ["Str", "Val1", "Val2"];
745 list<string> PrimaryKey = ["Val1", "Val2"];
753 bits<10> Val2 = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 };
/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp1536 APFloat Val2 = APFloat(Val); in isValueValidForType() local
1544 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1550 if (&Val2.getSemantics() == &APFloat::BFloat()) in isValueValidForType()
1556 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType()
1562 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1563 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType()
1565 &Val2.getSemantics() == &APFloat::IEEEdouble()) in isValueValidForType()
1572 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType()
1578 &Val2.getSemantics() == &APFloat::BFloat() || in isValueValidForType()
1581 &Val2.getSemantics() == &APFloat::IEEEquad(); in isValueValidForType()
[all …]
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp837 const Value &Val2, const Environment &Env2) { in compare() argument
841 bool MustNonEmpty2 = isNonEmptyOptional(Val2, Env2); in compare()
847 return (isEmptyOptional(Val1, Env1) && isEmptyOptional(Val2, Env2)) in compare()
854 const Value &Val2, in merge() argument
864 bool MustNonEmpty2 = isNonEmptyOptional(Val2, Env2); in merge()
871 isEmptyOptional(Val2, Env2)) in merge()
/openbsd/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h88 const Environment &Env1, const Value &Val2, in compare() argument
113 const Environment &Env1, const Value &Val2, in merge() argument
H A DDataflowAnalysisContext.h265 bool equivalentBoolValues(BoolValue &Val1, BoolValue &Val2);
H A DValue.h90 bool areEquivalentValues(const Value &Val1, const Value &Val2);
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp106 CmpInst::Predicate Cmp2, float Val2) { in createOrCond() argument
109 auto Cond2 = createCond(BBBuilder, Arg, Cmp2, Val2); in createOrCond()
H A DInlineFunction.cpp794 auto *Val2 = mdconst::dyn_extract<ConstantInt>(*CallsiteStackIter); in haveCommonPrefix() local
795 assert(Val1 && Val2); in haveCommonPrefix()
796 if (Val1->getZExtValue() != Val2->getZExtValue()) in haveCommonPrefix()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankCombiner.cpp61 Register Val0, Val1, Val2; member
326 getAsVgpr(MatchInfo.Val2)}, in applyMed3()
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProf.h683 static inline double score(uint64_t Val1, uint64_t Val2, double Sum1, in score()
687 return std::min(Val1 / Sum1, Val2 / Sum2); in score()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3109 SDValue Val2 = Ins2.getOperand(1); in tryInsertVectorElt() local
3110 if (Val1.getOpcode() == ISD::FP_ROUND || Val2.getOpcode() == ISD::FP_ROUND) in tryInsertVectorElt()
3116 (Val2.getOpcode() == ISD::EXTRACT_VECTOR_ELT || in tryInsertVectorElt()
3117 Val2.getOpcode() == ARMISD::VGETLANEu) && in tryInsertVectorElt()
3119 isa<ConstantSDNode>(Val2.getOperand(1)) && in tryInsertVectorElt()
3122 (Val2.getOperand(0).getValueType() == MVT::v8f16 || in tryInsertVectorElt()
3123 Val2.getOperand(0).getValueType() == MVT::v8i16)) { in tryInsertVectorElt()
3125 unsigned ExtractLane2 = Val2.getConstantOperandVal(1); in tryInsertVectorElt()
3129 if (Val1.getOperand(0) == Val2.getOperand(0) && ExtractLane2 % 2 == 0 && in tryInsertVectorElt()
3146 ARM::ssub_0 + ExtractLane2 / 2, dl, MVT::f32, Val2.getOperand(0)); in tryInsertVectorElt()
[all …]
H A DARMBaseInstrInfo.h865 bool HasLowerConstantMaterializationCost(unsigned Val1, unsigned Val2,
H A DARMBaseInstrInfo.cpp5661 bool llvm::HasLowerConstantMaterializationCost(unsigned Val1, unsigned Val2, in HasLowerConstantMaterializationCost() argument
5666 unsigned Cost2 = ConstantMaterializationCost(Val2, Subtarget, ForCodesize); in HasLowerConstantMaterializationCost()
5674 ConstantMaterializationCost(Val2, Subtarget, !ForCodesize); in HasLowerConstantMaterializationCost()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1740 const APInt *Val, *Val2; in visitCallInst() local
1747 match(Other->getArgOperand(1), m_APInt(Val2))) { in visitCallInst()
1749 NewVal = Val->uadd_sat(*Val2); in visitCallInst()
1750 else if (Val->isNonNegative() == Val2->isNonNegative()) { in visitCallInst()
1752 NewVal = Val->sadd_ov(*Val2, Overflow); in visitCallInst()
/openbsd/gnu/llvm/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1767 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent() local
1768 if (!llvm::APSInt::isSameValue(Val1, Val2) || in IsStructurallyEquivalent()
/openbsd/gnu/llvm/clang/docs/
H A DReleaseNotes.rst178 constexpr E Val2 = (E)7; // Ok

12