Home
last modified time | relevance | path

Searched refs:Val (Results 1 – 25 of 1119) sorted by relevance

12345678910>>...45

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DTinyPtrVector.h41 PtrUnion Val;
51 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { in TinyPtrVector()
70 Val = new VecTy(*RHS.Val.template get<VecTy*>());
79 *Val.template get<VecTy*>() = *RHS.Val.template get<VecTy*>();
84 TinyPtrVector(TinyPtrVector &&RHS) : Val(RHS.Val) { in TinyPtrVector()
109 Val = RHS.Val;
138 if (Val.isNull())
147 if (Val.isNull())
247 Val = NewVal; in push_back()
274 Val = EltTy(); in clear()
[all …]
H A DDenseMapInfo.h71 Val <<= Log2MaxAlign;
77 Val <<= Log2MaxAlign;
93 static unsigned getHashValue(const char& Val) { return Val * 37U; }
104 static unsigned getHashValue(const unsigned char &Val) { return Val * 37U; }
115 static unsigned getHashValue(const unsigned short &Val) { return Val * 37U; }
126 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
139 return (unsigned)(Val * 37UL);
153 return (unsigned)(Val * 37ULL);
166 static unsigned getHashValue(const short &Val) { return Val * 37U; }
174 static unsigned getHashValue(const int& Val) { return (unsigned)(Val * 37U); }
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DAPFixedPointTest.cpp676 APFloat Val(0.0f); in TEST() local
679 Val = APFloat(0.75f); in TEST()
697 Val = APFloat(-0.75f); in TEST()
843 int64_t Val = 0x1ULL; in TEST() local
856 Val = 0x7FULL; in TEST()
869 Val = -0x1ULL; in TEST()
882 Val = 0xAFAULL; in TEST()
895 Val = -0xAFAULL; in TEST()
902 Val = 0x40000080ULL; in TEST()
911 Val = 0x40000040ULL; in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.h58 uint64_t Val; in extractBitsAsZExtValue() local
62 Val = Hi >> (BitPosition - 64); in extractBitsAsZExtValue()
63 return Val & ((uint64_t(2) << (NumBits - 1)) - 1); in extractBitsAsZExtValue()
172 MCOperand decodeOperand_VS_32(unsigned Val) const;
238 MCOperand decodeSpecialReg32(unsigned Val) const;
239 MCOperand decodeSpecialReg64(unsigned Val) const;
242 MCOperand decodeSDWASrc16(unsigned Val) const;
243 MCOperand decodeSDWASrc32(unsigned Val) const;
244 MCOperand decodeSDWAVopcDst(unsigned Val) const;
246 MCOperand decodeBoolReg(unsigned Val) const;
[all …]
H A DAMDGPUDisassembler.cpp1140 Val &= 255; in decodeOperand_VGPR_32()
1278 Literal = Val; in decodeMandatoryLiteralConstant()
1492 return (TTmpMin <= Val && Val <= TTmpMax)? Val - TTmpMin : -1; in getTTmpIdx()
1502 Val &= 511; in decodeSrcOp()
1504 if (VGPR_MIN <= Val && Val <= VGPR_MAX) { in decodeSrcOp()
1519 if (INLINE_INTEGER_C_MIN <= Val && Val <= INLINE_INTEGER_C_MAX) in decodeSrcOp()
1522 if (INLINE_FLOATING_C_MIN <= Val && Val <= INLINE_FLOATING_C_MAX) in decodeSrcOp()
1583 switch (Val) { in decodeSpecialReg32()
1611 return errOperand(Val, "unknown operand encoding " + Twine(Val)); in decodeSpecialReg32()
1617 switch (Val) { in decodeSpecialReg64()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp53 if (isInt<32>(Val)) { in generateInstSeqImpl()
106 Val = (uint64_t)Val - (uint64_t)Lo12; in generateInstSeqImpl()
122 Val = (uint64_t)Val << 12; in generateInstSeqImpl()
128 Val = ((uint64_t)Val << 12) | (0xffffffffull << 32); in generateInstSeqImpl()
134 if (isUInt<32>((uint64_t)Val) && !isInt<32>((uint64_t)Val) && in generateInstSeqImpl()
138 Val = ((uint64_t)Val) | (0xffffffffull << 32); in generateInstSeqImpl()
269 if (Val < 0) { in generateInstSeq()
319 if ((Val % 3) == 0 && isInt<32>(Val / 3)) { in generateInstSeq()
322 } else if ((Val % 5) == 0 && isInt<32>(Val / 5)) { in generateInstSeq()
325 } else if ((Val % 9) == 0 && isInt<32>(Val / 9)) { in generateInstSeq()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCasting.h38 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
64 static inline bool doit(const From &Val) { return To::classof(&Val); }
224 Val);
554 return isa<First>(Val) || isa<Second, Rest...>(Val);
671 if (!detail::isPresent(Val))
673 return isa<X...>(Val);
685 if (!detail::isPresent(Val))
692 if (!detail::isPresent(Val))
699 if (!detail::isPresent(Val))
774 if (!isa<X>(Val))
[all …]
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPExpressions.cpp426 Result.Val = Val.extend(Result.Val.getBitWidth()); in EvaluateValue()
430 Result.Val = Val; in EvaluateValue()
485 Result.Val = -Result.Val; in EvaluateValue()
506 Result.Val = ~Result.Val; in EvaluateValue()
516 Result.Val = !Result.Val; in EvaluateValue()
767 Res = LHS.Val < RHS.Val; in EvaluateDirectiveSubExpr()
775 Res = LHS.Val > RHS.Val; in EvaluateDirectiveSubExpr()
787 Res = LHS.Val & RHS.Val; in EvaluateDirectiveSubExpr()
790 Res = LHS.Val ^ RHS.Val; in EvaluateDirectiveSubExpr()
793 Res = LHS.Val | RHS.Val; in EvaluateDirectiveSubExpr()
[all …]
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DValue.h84 static bool classof(const Value *Val) { in classof() argument
99 static bool classof(const Value *Val) { in classof() argument
114 static bool classof(const Value *Val) { in classof() argument
136 static bool classof(const Value *Val) { in classof() argument
157 static bool classof(const Value *Val) { in classof() argument
177 static bool classof(const Value *Val) { in classof() argument
201 static bool classof(const Value *Val) { in classof() argument
221 static bool classof(const Value *Val) { in classof() argument
233 static bool classof(const Value *Val) { in classof() argument
249 static bool classof(const Value *Val) { in classof() argument
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueLattice.cpp13 if (Val.isUnknown()) in operator <<()
15 if (Val.isUndef()) in operator <<()
17 if (Val.isOverdefined()) in operator <<()
20 if (Val.isNotConstant()) in operator <<()
21 return OS << "notconstant<" << *Val.getNotConstant() << ">"; in operator <<()
23 if (Val.isConstantRangeIncludingUndef()) in operator <<()
25 << Val.getConstantRange(true).getLower() << ", " in operator <<()
26 << Val.getConstantRange(true).getUpper() << ">"; in operator <<()
28 if (Val.isConstantRange()) in operator <<()
30 << Val.getConstantRange().getUpper() << ">"; in operator <<()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_value.cpp78 return *reinterpret_cast<s64*>(Val); in getSIntValue()
81 return *reinterpret_cast<s128*>(Val); in getSIntValue()
92 return Val; in getUIntValue()
94 return *reinterpret_cast<u64*>(Val); in getUIntValue()
97 return *reinterpret_cast<u128*>(Val); in getUIntValue()
108 SIntMax Val = getSIntValue(); in getPositiveIntValue() local
109 CHECK(Val >= 0); in getPositiveIntValue()
110 return Val; in getPositiveIntValue()
125 internal_memcpy(&Value, &Val, 4); in getFloatValue()
137 internal_memcpy(&Value, &Val, 4); in getFloatValue()
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCSymbolELF.cpp47 Val = 0; in setBinding()
50 Val = 1; in setBinding()
53 Val = 2; in setBinding()
56 Val = 3; in setBinding()
97 Val = 0; in setType()
100 Val = 1; in setType()
103 Val = 2; in setType()
106 Val = 3; in setType()
109 Val = 4; in setType()
112 Val = 5; in setType()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h85 Val <<= Log2MaxAlign;
91 Val <<= Log2MaxAlign;
109 static constexpr unsigned getHashValue(const char &Val) { return Val * 37U; }
122 return Val * 37U;
137 return Val * 37U;
152 return Val * 37U;
167 return (unsigned)(Val * 37UL);
183 return (unsigned)(Val * 37ULL);
197 static constexpr unsigned getHashValue(const short &Val) { return Val * 37U; }
209 return (unsigned)(Val * 37U);
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcxx-uninitialized-object-unionlike-constructs.cpp32 UnionLikeStruct1(Kind kind, int Val) : kind(kind) { in UnionLikeStruct1()
35 Volume = Val; in UnionLikeStruct1()
38 Area = Val; in UnionLikeStruct1()
61 Volume = Val; in UnionLikeStruct2()
64 Area = Val; in UnionLikeStruct2()
87 Volume = Val; in UnionLikeStruct3()
90 Area = Val; in UnionLikeStruct3()
113 Volume = Val; in UnionLikeStruct4()
116 Area = Val; in UnionLikeStruct4()
139 Volume = Val; in UnionLikeStruct5()
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dsize.td9 // CHECK: int Val = 0;
13 // CHECK: int Val = 3;
17 // CHECK: int Val = 0;
21 // CHECK: int Val = 2;
25 int Val = !size(L);
29 int Val = !size(L);
41 // CHECK: int Val = 0;
45 // CHECK: int Val = 1;
49 // CHECK: int Val = 2;
61 int Val = !size(D);
[all …]
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVE.h201 switch (Val) { in VEValToCondCode()
220 switch (Val) { in VEValToCondCode()
304 switch (Val) { in VEValToRD()
326 if (Val == 0) { in isMImmVal()
335 return (Val & (UINT64_C(1) << 63)) && isShiftedMask_64(Val); in isMImmVal()
339 if (Val == 0) { in isMImm32Val()
348 return (Val & (UINT32_C(1) << 31)) && isShiftedMask_32(Val); in isMImm32Val()
353 if (Val == 0) in val2MImm()
362 if (Val == 0) in mimm2Val()
369 inline unsigned M0(unsigned Val) { return Val + 64; } in M0() argument
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/fuchsia/
H A Dstatically-constructed-objects.cpp10 ClassWithCtor(int Val) : Val(Val) {} in ClassWithCtor() argument
12 int Val; member in ClassWithCtor
17 ClassWithConstexpr(int Val1, int Val2) : Val(Val1) {} in ClassWithConstexpr()
18 constexpr ClassWithConstexpr(int Val) : Val(Val) {} in ClassWithConstexpr() argument
21 int Val; member in ClassWithConstexpr
42 struct StructWithConstexpr { constexpr StructWithConstexpr(int Val) {} }; in StructWithConstexpr()
68 int Val; member in S
70 constexpr S(int i) : Val(100 / i) {} in S()
71 int getVal() const { return Val; } in getVal()
/llvm-project-15.0.7/llvm/lib/Support/
H A DYAMLTraits.cpp931 Val = n; in input()
947 Val = n; in input()
963 Val = n; in input()
977 Val = N; in input()
993 Val = N; in input()
1008 Val = N; in input()
1023 Val = N; in input()
1036 Val = N; in input()
1070 Val = n; in input()
1084 Val = n; in input()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.h58 if (!Val) in isRunOfOnes()
61 if (isShiftedMask_32(Val)) { in isRunOfOnes()
63 MB = countLeadingZeros(Val); in isRunOfOnes()
65 ME = countLeadingZeros((Val - 1) ^ Val); in isRunOfOnes()
68 Val = ~Val; // invert mask in isRunOfOnes()
73 MB = countLeadingZeros((Val - 1) ^ Val) + 1; in isRunOfOnes()
82 if (!Val) in isRunOfOnes64()
85 if (isShiftedMask_64(Val)) { in isRunOfOnes64()
89 ME = countLeadingZeros((Val - 1) ^ Val); in isRunOfOnes64()
92 Val = ~Val; // invert mask in isRunOfOnes64()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/zircon/
H A Dtemporary-objects.cpp10 Foo(int Val) : Val(Val){}; in Foo() argument
13 int Val; member in Foo
21 Bar(int Val) : Val(Val){}; in Bar() argument
24 int Val; member in NS::Bar
32 Bar(int Val) : Val(Val){}; in Bar() argument
35 int Val; member in Bar
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCInst.h85 void setImm(int64_t Val) { in setImm() argument
87 ImmVal = Val; in setImm()
97 SFPImmVal = Val; in setSFPImm()
107 FPImmVal = Val; in setDFPImm()
121 ExprVal = Val; in setExpr()
131 InstVal = Val; in setInst()
144 Op.ImmVal = Val; in createImm()
151 Op.SFPImmVal = Val; in createSFPImm()
158 Op.FPImmVal = Val; in createDFPImm()
165 Op.ExprVal = Val; in createExpr()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp61 if (!Key || !Val) in readFromIR()
139 setRegister(getRsrc1Reg(CC), Val); in setRsrc1()
145 setRegister(getRsrc1Reg(CC) + 1, Val); in setRsrc2()
183 Val |= N.getUInt(); in setRegister()
184 N = N.getDocument()->getNode(Val); in setRegister()
205 setRegister(NumUsedVgprsKey, Val); in setNumUsedVgprs()
214 getHwStage(CC)[".agpr_count"] = Val; in setNumUsedAgprs()
226 setRegister(NumUsedSgprsKey, Val); in setNumUsedSgprs()
679 unsigned Val = I->second.getUInt(); in toString() local
759 uint64_t Val; in setFromString() local
[all …]
H A DAMDGPUPALMetadata.h43 void setRsrc1(unsigned CC, unsigned Val);
47 void setRsrc2(unsigned CC, unsigned Val);
51 void setSpiPsInputEna(unsigned Val);
55 void setSpiPsInputAddr(unsigned Val);
62 void setRegister(unsigned Reg, unsigned Val);
70 void setNumUsedVgprs(unsigned CC, unsigned Val);
74 void setNumUsedAgprs(unsigned CC, unsigned Val);
79 void setNumUsedSgprs(unsigned CC, unsigned Val);
82 void setScratchSize(unsigned CC, unsigned Val);
85 void setFunctionScratchSize(const MachineFunction &MF, unsigned Val);
[all …]
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DAsmPrinterDwarfTest.cpp58 Val = TestPrinter->getCtx().createTempSymbol(); in init()
63 Val->setFragment(&Sec->getDummyFragment()); in init()
68 MCSymbol *Val = nullptr; member in __anon5e2e47990111::AsmPrinterEmitDwarfSymbolReferenceTest
100 EXPECT_EQ(&(ActualArg0->getSymbol()), Val); in TEST_F()
123 EXPECT_EQ(&(ActualArg0->getSymbol()), Val); in TEST_F()
142 Val.Index = DwarfStringPoolEntry::NotIndexed; in init()
144 Val.Offset = 42; in init()
148 DwarfStringPoolEntry Val; member in __anon5e2e47990111::AsmPrinterEmitDwarfStringOffsetTest
158 TestPrinter->getAP()->emitDwarfStringOffset(Val); in TEST_F()
264 uint64_t Val = 42; member in __anon5e2e47990111::AsmPrinterEmitDwarfLengthOrOffsetTest
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DModule.cpp327 return MFE.Val; in getModuleFlag()
549 auto *Val = in getNumberRegisterParameters() local
551 if (!Val) in getNumberRegisterParameters()
558 if (!Val) in getDwarfVersion()
565 return Val && cast<ConstantInt>(Val->getValue())->isOne(); in isDwarf64()
570 if (!Val) in getCodeViewFlag()
591 if (!Val) in getPICLevel()
605 if (!Val) in getPIELevel()
619 if (!Val) in getCodeModel()
650 if (!Val) in getSemanticInterposition()
[all …]

12345678910>>...45