/openbsd-current/gnu/llvm/compiler-rt/lib/ubsan/ |
H A D | ubsan_value.cpp | 71 // Val was zero-extended to ValueHandle. Sign-extend from original width 75 return SIntMax(UIntMax(Val) << ExtraBits) >> ExtraBits; 78 return *reinterpret_cast<s64*>(Val); 81 return *reinterpret_cast<s128*>(Val); 92 return Val; 94 return *reinterpret_cast<u64*>(Val); 97 return *reinterpret_cast<u128*>(Val); 108 SIntMax Val = getSIntValue(); 109 CHECK(Val >= 0); 110 return Val; [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Analysis/ |
H A D | ValueLattice.cpp | 55 raw_ostream &operator<<(raw_ostream &OS, const ValueLatticeElement &Val) { argument 56 if (Val.isUnknown()) 58 if (Val.isUndef()) 60 if (Val.isOverdefined()) 63 if (Val.isNotConstant()) 64 return OS << "notconstant<" << *Val.getNotConstant() << ">"; 66 if (Val.isConstantRangeIncludingUndef()) 68 << Val.getConstantRange(true).getLower() << ", " 69 << Val.getConstantRange(true).getUpper() << ">"; 71 if (Val [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 40 PtrUnion Val; member in class:llvm::TinyPtrVector 46 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 50 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { 51 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 52 Val = new VecTy(*V); 65 if (Val.template is<EltTy>()) { 67 Val = RHS.front(); 69 Val = new VecTy(*RHS.Val [all...] |
H A D | DenseMapInfo.h | 54 //static unsigned getHashValue(const T &Val); 72 uintptr_t Val = static_cast<uintptr_t>(-1); local 73 Val <<= Log2MaxAlign; 74 return reinterpret_cast<T*>(Val); 78 uintptr_t Val = static_cast<uintptr_t>(-2); local 79 Val <<= Log2MaxAlign; 80 return reinterpret_cast<T*>(Val); 95 static unsigned getHashValue(const char& Val) { return Val * 37U; } argument 106 static unsigned getHashValue(const unsigned char &Val) { retur argument 117 getHashValue(const unsigned short &Val) argument 128 getHashValue(const unsigned& Val) argument 140 getHashValue(const unsigned long& Val) argument 154 getHashValue(const unsigned long long& Val) argument 168 getHashValue(const short &Val) argument 176 getHashValue(const int& Val) argument 191 getHashValue(const long& Val) argument 205 getHashValue(const long long& Val) argument 307 getHashValue(const Variant &Val) argument 317 Val); member in struct:llvm::DenseMapInfo [all...] |
H A D | APFixedPoint.h | 128 inline hash_code hash_value(const FixedPointSemantics &Val) { argument 129 return hash_value(bit_cast<uint32_t>(Val)); 141 static unsigned getHashValue(const FixedPointSemantics &Val) { argument 142 return hash_value(Val); 156 APFixedPoint(const APInt &Val, const FixedPointSemantics &Sema) argument 157 : Val(Val, !Sema.isSigned()), Sema(Sema) { 158 assert(Val.getBitWidth() == Sema.getWidth() && 162 APFixedPoint(uint64_t Val, const FixedPointSemantics &Sema) argument 163 : APFixedPoint(APInt(Sema.getWidth(), Val, Sem 288 APSInt Val; member in class:llvm::APFixedPoint 297 hash_value(const APFixedPoint &Val) argument 310 getHashValue(const APFixedPoint &Val) argument [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/template/ |
H A D | conv6.C | 9 template <typename> struct Val {}; struct 14 template <typename U> operator Val<U> (); 22 static_cast <Val<int> const &> (l); 23 static_cast <Val<int> > (l);
|
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.h | 58 uint64_t Val; 60 Val = Lo >> BitPosition | Hi << 1 << (63 - BitPosition); 62 Val = Hi >> (BitPosition - 64); 63 return Val & ((uint64_t(2) << (NumBits - 1)) - 1); 111 MCOperand createRegOperand(unsigned RegClassID, unsigned Val) const; 112 MCOperand createSRegOperand(unsigned SRegClassID, unsigned Val) const; 169 MCOperand decodeOperand_VGPR_32(unsigned Val) const; 170 MCOperand decodeOperand_VGPR_32_Lo128(unsigned Val) const; 171 MCOperand decodeOperand_VRegOrLds_32(unsigned Val) const; 173 MCOperand decodeOperand_VS_32(unsigned Val) cons [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMatInt.cpp | 48 static void generateInstSeqImpl(int64_t Val, argument 54 if (ActiveFeatures[RISCV::FeatureStdExtZbs] && isPowerOf2_64(Val) && 55 (!isInt<32>(Val) || Val == 0x800)) { 56 Res.emplace_back(RISCV::BSETI, Log2_64(Val)); 60 if (isInt<32>(Val)) { 68 int64_t Hi20 = ((Val + 0x800) >> 12) & 0xFFFFF; 69 int64_t Lo12 = SignExtend64<12>(Val); 106 int64_t Lo12 = SignExtend64<12>(Val); 107 Val 156 extractRotateInfo(int64_t Val) argument 175 generateInstSeq(int64_t Val, const FeatureBitset &ActiveFeatures) argument 370 getIntMatCost(const APInt &Val, unsigned Size, const FeatureBitset &ActiveFeatures, bool CompressionCost) argument [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | LowerAtomic.cpp | 27 Value *Val = CXI->getNewValOperand(); local 29 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); 31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); 44 Value *Val) { 48 return Val; 50 return Builder.CreateAdd(Loaded, Val, "new"); 52 return Builder.CreateSub(Loaded, Val, "new"); 54 return Builder.CreateAnd(Loaded, Val, "new"); 56 return Builder.CreateNot(Builder.CreateAnd(Loaded, Val), "new"); 58 return Builder.CreateOr(Loaded, Val, "ne 42 buildAtomicRMWValue(AtomicRMWInst::BinOp Op, IRBuilderBase &Builder, Value *Loaded, Value *Val) argument 106 Value *Val = RMWI->getValOperand(); local [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/MC/ |
H A D | MCInstBuilder.h | 37 MCInstBuilder &addImm(int64_t Val) { argument 38 Inst.addOperand(MCOperand::createImm(Val)); 43 MCInstBuilder &addSFPImm(uint32_t Val) { argument 44 Inst.addOperand(MCOperand::createSFPImm(Val)); 49 MCInstBuilder &addDFPImm(uint64_t Val) { argument 50 Inst.addOperand(MCOperand::createDFPImm(Val)); 55 MCInstBuilder &addExpr(const MCExpr *Val) { argument 56 Inst.addOperand(MCOperand::createExpr(Val)); 61 MCInstBuilder &addInst(const MCInst *Val) { argument 62 Inst.addOperand(MCOperand::createInst(Val)); [all...] |
H A D | MCRegister.h | 29 constexpr MCRegister(unsigned Val = 0): Reg(Val) {} 67 static MCRegister from(unsigned Val) { argument 68 assert(Val == NoRegister || isPhysicalRegister(Val)); 69 return MCRegister(Val); 103 static unsigned getHashValue(const MCRegister &Val) { argument 104 return DenseMapInfo<unsigned>::getHashValue(Val.id());
|
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUPALMetadata.h | 43 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...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
H A D | options.h | 31 u32 Val; member in struct:scudo::Options 33 bool get(OptionBit Opt) const { return Val & (1U << static_cast<u32>(Opt)); } 37 (Val >> static_cast<u32>(OptionBit::FillContents0of2)) & 3); 47 atomic_u32 Val = {}; member in struct:scudo::AtomicOptions 49 Options load() const { return Options{atomic_load_relaxed(&Val)}; } 52 atomic_fetch_and(&Val, ~(1U << static_cast<u32>(Opt)), 57 atomic_fetch_or(&Val, 1U << static_cast<u32>(Opt), memory_order_relaxed); 61 u32 Opts = atomic_load_relaxed(&Val), NewOpts; 67 } while (!atomic_compare_exchange_strong(&Val, &Opts, NewOpts,
|
/openbsd-current/gnu/llvm/llvm/lib/IR/ |
H A D | Use.cpp | 15 if (Val == RHS.Val) 18 std::swap(Val, RHS.Val);
|
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/ |
H A D | Value.h | 70 /// Assigns `Val` as the value of the synthetic property with the given 72 void setProperty(llvm::StringRef Name, Value &Val) { argument 73 Properties.insert_or_assign(Name, &Val); 97 static bool classof(const Value *Val) { argument 98 return Val->getKind() == Kind::TopBool || 99 Val->getKind() == Kind::AtomicBool || 100 Val->getKind() == Kind::Conjunction || 101 Val->getKind() == Kind::Disjunction || 102 Val->getKind() == Kind::Negation || 103 Val 114 classof(const Value *Val) argument 124 classof(const Value *Val) argument 139 classof(const Value *Val) argument 161 classof(const Value *Val) argument 182 classof(const Value *Val) argument 202 classof(const Value *Val) argument 226 classof(const Value *Val) argument 246 classof(const Value *Val) argument 258 classof(const Value *Val) argument 274 classof(const Value *Val) argument 294 classof(const Value *Val) argument 308 setChild(const ValueDecl &D, Value &Val) argument [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/ |
H A D | Use.h | 54 if (Val) 65 operator Value *() const { return Val; } 66 Value *get() const { return Val; } 74 inline void set(Value *Val); 79 Value *operator->() { return Val; } 80 const Value *operator->() const { return Val; } 93 Value *Val = nullptr; member in class:llvm::Use 118 static SimpleType getSimplifiedValue(Use &Val) { return Val.get(); } argument 123 static SimpleType getSimplifiedValue(const Use &Val) { retur argument [all...] |
/openbsd-current/gnu/llvm/clang/lib/Analysis/FlowSensitive/ |
H A D | Value.cpp | 39 raw_ostream &operator<<(raw_ostream &OS, const Value &Val) { argument 40 switch (Val.getKind()) { 42 const auto *RV = cast<ReferenceValue>(&Val); 46 const auto *PV = dyn_cast<PointerValue>(&Val); 51 return OS << debugString(Val.getKind());
|
/openbsd-current/gnu/llvm/llvm/lib/MC/ |
H A D | MCSymbolELF.cpp | 45 unsigned Val; local 50 Val = 0; 53 Val = 1; 56 Val = 2; 59 Val = 3; 63 setFlags(OtherFlags | (Val << ELF_STB_Shift)); 68 uint32_t Val = (Flags >> ELF_STB_Shift) & 3; local 69 switch (Val) { 95 unsigned Val; local 100 Val 126 uint32_t Val = (Flags >> ELF_STT_Shift) & 7; local [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/ |
H A D | Casting.h | 38 static SimpleType &getSimplifiedValue(From &Val) { return Val; } argument 47 static RetType getSimplifiedValue(const From &Val) { argument 48 return simplify_type<From>::getSimplifiedValue(const_cast<From &>(Val)); 64 static inline bool doit(const From &Val) { return To::classof(&Val); } argument 74 static inline bool doit(const From &Val) { argument 75 return isa_impl<To, From>::doit(Val); 80 static inline bool doit(const From &Val) { argument 81 return isa_impl<To, From>::doit(Val); 87 doit(const std::unique_ptr<From> &Val) argument 94 doit(const From *Val) argument 101 doit(const From *Val) argument 108 doit(const From *Val) argument 116 doit(const From *Val) argument 126 doit(const From &Val) argument 136 doit(const FromTy &Val) argument 204 doit(const From &Val) argument 213 doit(const FromTy &Val) argument 222 doit(const FromTy *Val) argument 549 isa(const From &Val) argument 554 isa(const From &Val) argument 566 cast(const From &Val) argument 572 cast(From &Val) argument 578 cast(From *Val) argument 584 cast(std::unique_ptr<From> &&Val) argument 650 dyn_cast(const From &Val) argument 656 dyn_cast(From &Val) argument 662 dyn_cast(From *Val) argument 668 dyn_cast(std::unique_ptr<From> &&Val) argument 677 isa_and_present(const Y &Val) argument 684 isa_and_nonnull(const Y &Val) argument 691 cast_if_present(const Y &Val) argument 698 cast_if_present(Y &Val) argument 705 cast_if_present(Y *Val) argument 713 cast_if_present(std::unique_ptr<Y> &&Val) argument 722 cast_or_null(const Y &Val) argument 726 cast_or_null(Y &Val) argument 730 cast_or_null(Y *Val) argument 734 cast_or_null(std::unique_ptr<Y> &&Val) argument 740 dyn_cast_if_present(const Y &Val) argument 746 dyn_cast_if_present(Y &Val) argument 752 dyn_cast_if_present(Y *Val) argument 761 dyn_cast_or_null(const Y &Val) argument 765 dyn_cast_or_null(Y &Val) argument 769 dyn_cast_or_null(Y *Val) argument 780 unique_dyn_cast(std::unique_ptr<Y> &Val) argument 787 unique_dyn_cast(std::unique_ptr<Y> &&Val) argument 795 unique_dyn_cast_or_null(std::unique_ptr<Y> &Val) argument 802 unique_dyn_cast_or_null(std::unique_ptr<Y> &&Val) argument [all...] |
/openbsd-current/gnu/llvm/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 50 llvm::APSInt Val; member in class:__anon693::PPValue 53 PPValue(unsigned BitWidth) : Val(BitWidth) {} 60 unsigned getBitWidth() const { return Val.getBitWidth(); } 61 bool isUnsigned() const { return Val.isUnsigned(); } 132 Result.Val = !!Macro; 133 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. 139 if (Result.Val != 0 && ValueLive) 276 Result.Val = 0; 277 Result.Val.setIsUnsigned(false); // "0" is signed intmax_t 0. 343 if (Literal.GetIntegerValue(Result.Val)) { [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_dense_map_info.h | 66 // static unsigned getHashValue(const T &Val); 84 uptr Val = static_cast<uptr>(-1); local 85 Val <<= Log2MaxAlign; 86 return reinterpret_cast<T *>(Val); 90 uptr Val = static_cast<uptr>(-2); local 91 Val <<= Log2MaxAlign; 92 return reinterpret_cast<T *>(Val); 109 static constexpr unsigned getHashValue(const char &Val) { return Val * 37U; } argument 121 static constexpr unsigned getHashValue(const unsigned char &Val) { argument 136 getHashValue(const unsigned short &Val) argument 151 getHashValue(const unsigned &Val) argument 166 getHashValue(const unsigned long &Val) argument 182 getHashValue(const unsigned long long &Val) argument 197 getHashValue(const short &Val) argument 208 getHashValue(const int &Val) argument 226 getHashValue(const long &Val) argument 243 getHashValue(const long long &Val) argument [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCExpr.h | 26 void setMustExtend(bool Val = true); 28 void setMustNotExtend(bool Val = true); 30 void setS27_2_reloc(bool Val = true); 32 void setSignMismatch(bool Val = true);
|
/openbsd-current/gnu/llvm/llvm/include/llvm/Remarks/ |
H A D | HotnessThresholdParser.h | 35 int64_t Val; 36 if (Arg.getAsInteger(10, Val)) 41 return Val < 0 ? 0 : Val;
|
/openbsd-current/gnu/llvm/llvm/lib/Target/VE/ |
H A D | VE.h | 281 inline static VECC::CondCode VEValToCondCode(unsigned Val, bool IsInteger) { argument 283 switch (Val) { 302 switch (Val) { 385 inline static VERD::RoundingMode VEValToRD(unsigned Val) { argument 386 switch (Val) { 413 uint64_t Val = Imm.getZExtValue(); local 416 Val <<= 32; 418 return Val; 423 inline static bool isMImmVal(uint64_t Val) { argument 424 if (Val 436 isMImm32Val(uint32_t Val) argument 450 val2MImm(uint64_t Val) argument 459 mimm2Val(uint64_t Val) argument 467 M0(unsigned Val) argument 468 M1(unsigned Val) argument [all...] |
/openbsd-current/gnu/llvm/clang/include/clang/AST/ |
H A D | TypeOrdering.h | 46 static unsigned getHashValue(clang::QualType Val) { argument 47 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 48 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9)); 66 static unsigned getHashValue(clang::CanQualType Val) { argument 67 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 68 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9));
|