/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | PerfSharedStructs.h | 121 Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in size() 127 IB, Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in deserialize() 133 OB, Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in serialize() 150 IB, Val.Addr, Val.Lineno, Val.Discrim, Val.Name); in deserialize() 172 IB, Val.Prefix, Val.CodeAddr, Val.Entries); in deserialize() 177 OB, Val.Prefix, Val.CodeAddr, Val.Entries); in serialize() 190 Val.Prefix, Val.UnwindDataSize, Val.EHFrameHdrSize, Val.MappedSize, in size() 191 Val.EHFrameHdrAddr, Val.EHFrameHdr, Val.EHFrameAddr); in size() 196 IB, Val.Prefix, Val.UnwindDataSize, Val.EHFrameHdrSize, Val.MappedSize, in deserialize() 197 Val.EHFrameHdrAddr, Val.EHFrameHdr, Val.EHFrameAddr); in deserialize() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 40 PtrUnion Val; 50 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { in TinyPtrVector() 69 Val = new VecTy(*cast<VecTy *>(RHS.Val)); 78 *cast<VecTy *>(Val) = *cast<VecTy *>(RHS.Val); 83 TinyPtrVector(TinyPtrVector &&RHS) : Val(RHS.Val) { in TinyPtrVector() 108 Val = RHS.Val; 137 if (Val.isNull()) 146 if (Val.isNull()) 245 Val = NewVal; in push_back() 272 Val = EltTy(); in clear() [all …]
|
H A D | DenseMapInfo.h | 72 Val <<= Log2MaxAlign; 78 Val <<= Log2MaxAlign; 94 static unsigned getHashValue(const char& Val) { return Val * 37U; } 105 static unsigned getHashValue(const unsigned char &Val) { return Val * 37U; } 116 static unsigned getHashValue(const unsigned short &Val) { return Val * 37U; } 127 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } 140 return (unsigned)(Val * 37UL); 154 return (unsigned)(Val * 37ULL); 167 static unsigned getHashValue(const short &Val) { return Val * 37U; } 175 static unsigned getHashValue(const int& Val) { return (unsigned)(Val * 37U); } [all …]
|
H A D | APFixedPoint.h | 129 return hash_value(bit_cast<uint32_t>(Val)); in hash_value() 142 return hash_value(Val); 157 : Val(Val, !Sema.isSigned()), Sema(Sema) { 158 assert(Val.getBitWidth() == Sema.getWidth() && 203 return APFixedPoint(Val >> Amt, Sema); 216 (getLsbWeight() > 0) ? Val.extend(getWidth() + getLsbWeight()) : Val; 217 if (Val < 0 && Val != -Val) // Cover the case when we have the min val 288 APSInt Val; 297 inline hash_code hash_value(const APFixedPoint &Val) { 298 return hash_combine(Val.getSemantics(), Val.getValue()); [all …]
|
H A D | bit.h | 153 if (!Val) in count() 155 if (Val & 0x1) in count() 163 if ((Val & Mask) == 0) { in count() 164 Val >>= Shift; in count() 177 if (Val == 0) 193 if (Val == 0) 224 if (!Val) 230 T Tmp = Val >> Shift; 232 Val = Tmp; 243 if (Val == 0) [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMatInt.cpp | 54 (!isInt<32>(Val) || Val == 0x800)) { 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() 231 if ((Val & 0xfff) != 0 && (Val & 1) == 0 && Res.size() >= 2) { in generateInstSeq() 263 if ((Val & 0xfff) != 0 && (Val & 0x1800) == 0x1000) { in generateInstSeq() 371 if ((Val % 3) == 0 && isInt<32>(Val / 3)) { in generateInstSeq() 374 } else if ((Val % 5) == 0 && isInt<32>(Val / 5)) { in generateInstSeq() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Casting.h | 38 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); 676 if (!detail::isPresent(Val)) 678 return isa<X...>(Val); 690 if (!detail::isPresent(Val)) 697 if (!detail::isPresent(Val)) 704 if (!detail::isPresent(Val)) 779 if (!isa<X>(Val)) [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 428 Result.Val = Val.extend(Result.Val.getBitWidth()); in EvaluateValue() 432 Result.Val = Val; in EvaluateValue() 487 Result.Val = -Result.Val; in EvaluateValue() 508 Result.Val = ~Result.Val; in EvaluateValue() 518 Result.Val = !Result.Val; in EvaluateValue() 769 Res = LHS.Val < RHS.Val; in EvaluateDirectiveSubExpr() 777 Res = LHS.Val > RHS.Val; in EvaluateDirectiveSubExpr() 789 Res = LHS.Val & RHS.Val; in EvaluateDirectiveSubExpr() 792 Res = LHS.Val ^ RHS.Val; in EvaluateDirectiveSubExpr() 795 Res = LHS.Val | RHS.Val; in EvaluateDirectiveSubExpr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerAtomic.cpp | 26 Value *Val = CXI->getNewValOperand(); in lowerAtomicCmpXchgInst() local 43 Value *Val) { in buildAtomicRMWValue() argument 47 return Val; in buildAtomicRMWValue() 49 return Builder.CreateAdd(Loaded, Val, "new"); in buildAtomicRMWValue() 57 return Builder.CreateOr(Loaded, Val, "new"); in buildAtomicRMWValue() 61 NewVal = Builder.CreateICmpSGT(Loaded, Val); in buildAtomicRMWValue() 64 NewVal = Builder.CreateICmpSLE(Loaded, Val); in buildAtomicRMWValue() 67 NewVal = Builder.CreateICmpUGT(Loaded, Val); in buildAtomicRMWValue() 77 return Builder.CreateMaxNum(Loaded, Val); in buildAtomicRMWValue() 79 return Builder.CreateMinNum(Loaded, Val); in buildAtomicRMWValue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUPALMetadata.h | 47 void setRsrc1(unsigned CC, unsigned Val); 51 void setRsrc2(unsigned CC, unsigned Val); 55 void setSpiPsInputEna(unsigned Val); 59 void setSpiPsInputAddr(unsigned Val); 66 void setRegister(unsigned Reg, unsigned Val); 74 void setNumUsedVgprs(unsigned CC, unsigned Val); 78 void setNumUsedAgprs(unsigned CC, unsigned Val); 83 void setNumUsedSgprs(unsigned CC, unsigned Val); 86 void setScratchSize(unsigned CC, unsigned Val); 143 void setComputeRegisters(StringRef field, bool Val); [all …]
|
H A D | AMDGPUPALMetadata.cpp | 60 if (!Key || !Val) in readFromIR() 137 setRegister(getRsrc1Reg(CC), Val); in setRsrc1() 181 Val |= N.getUInt(); in setRegister() 182 N = N.getDocument()->getNode(Val); in setRegister() 203 setRegister(NumUsedVgprsKey, Val); in setNumUsedVgprs() 212 getHwStage(CC)[".agpr_count"] = Val; in setNumUsedAgprs() 756 uint64_t Val; in setFromString() local 938 getHwStage(CC)[field] = Val; in setHwStage() 942 getHwStage(CC)[field] = Val; in setHwStage() 961 return N->getUInt() == Val; in checkComputeRegisters() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | stl_extras.h | 33 constexpr uint64_t bit_ceil(uint64_t Val) noexcept { in bit_ceil() argument 34 Val |= (Val >> 1); in bit_ceil() 35 Val |= (Val >> 2); in bit_ceil() 36 Val |= (Val >> 4); in bit_ceil() 37 Val |= (Val >> 8); in bit_ceil() 38 Val |= (Val >> 16); in bit_ceil() 39 Val |= (Val >> 32); in bit_ceil() 40 return Val + 1; in bit_ceil()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_value.cpp | 78 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 …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_dense_map_info.h | 85 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 …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VE.h | 207 switch (Val) { in VEValToCondCode() 226 switch (Val) { in VEValToCondCode() 310 switch (Val) { in VEValToRD() 332 if (Val == 0) { in isMImmVal() 341 return (Val & (UINT64_C(1) << 63)) && isShiftedMask_64(Val); in isMImmVal() 345 if (Val == 0) { in isMImm32Val() 354 return (Val & (UINT32_C(1) << 31)) && isShiftedMask_32(Val); in isMImm32Val() 359 if (Val == 0) in val2MImm() 368 if (Val == 0) in mimm2Val() 375 inline unsigned M0(unsigned Val) { return Val + 64; } in M0() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCSymbolELF.cpp | 50 Val = 0; in setBinding() 53 Val = 1; in setBinding() 56 Val = 2; in setBinding() 59 Val = 3; in setBinding() 100 Val = 0; in setType() 103 Val = 1; in setType() 106 Val = 2; in setType() 109 Val = 3; in setType() 112 Val = 4; in setType() 115 Val = 5; in setType() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | Value.h | 71 Properties.insert_or_assign(Name, &Val); in setProperty() 103 static bool classof(const Value *Val) { in classof() argument 124 static bool classof(const Value *Val) { in classof() argument 125 return Val->getKind() == Kind::TopBool; in classof() 141 static bool classof(const Value *Val) { in classof() argument 156 static bool classof(const Value *Val) { in classof() argument 166 static bool classof(const Value *Val) { in classof() argument 167 return Val->getKind() == Kind::Integer; in classof() 177 static bool classof(const Value *Val) { in classof() argument 215 static bool classof(const Value *Val) { in classof() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | YAMLTraits.cpp | 948 Val = n; in input() 964 Val = n; in input() 980 Val = n; in input() 994 Val = N; in input() 1010 Val = N; in input() 1025 Val = N; in input() 1040 Val = N; in input() 1053 Val = N; in input() 1087 Val = n; in input() 1101 Val = n; in input() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueLattice.cpp | 56 if (Val.isUnknown()) in operator <<() 58 if (Val.isUndef()) in operator <<() 60 if (Val.isOverdefined()) in operator <<() 63 if (Val.isNotConstant()) in operator <<() 64 return OS << "notconstant<" << *Val.getNotConstant() << ">"; in operator <<() 66 if (Val.isConstantRangeIncludingUndef()) in operator <<() 68 << Val.getConstantRange(true).getLower() << ", " in operator <<() 69 << Val.getConstantRange(true).getUpper() << ">"; in operator <<() 71 if (Val.isConstantRange()) in operator <<() 73 << Val.getConstantRange().getUpper() << ">"; in operator <<() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCInst.h | 85 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 …]
|
H A D | MCInstBuilder.h | 37 MCInstBuilder &addImm(int64_t Val) { in addImm() argument 38 Inst.addOperand(MCOperand::createImm(Val)); in addImm() 43 MCInstBuilder &addSFPImm(uint32_t Val) { in addSFPImm() argument 44 Inst.addOperand(MCOperand::createSFPImm(Val)); in addSFPImm() 49 MCInstBuilder &addDFPImm(uint64_t Val) { in addDFPImm() argument 50 Inst.addOperand(MCOperand::createDFPImm(Val)); in addDFPImm() 55 MCInstBuilder &addExpr(const MCExpr *Val) { in addExpr() argument 56 Inst.addOperand(MCOperand::createExpr(Val)); in addExpr() 61 MCInstBuilder &addInst(const MCInst *Val) { in addInst() argument 62 Inst.addOperand(MCOperand::createInst(Val)); in addInst()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Module.cpp | 535 auto *Val = in getNumberRegisterParameters() local 537 if (!Val) in getNumberRegisterParameters() 544 if (!Val) in getDwarfVersion() 556 if (!Val) in getCodeViewFlag() 577 if (!Val) in getPICLevel() 593 if (!Val) in getPIELevel() 607 if (!Val) in getCodeModel() 623 auto *Val = in getLargeDataThreshold() local 626 if (!Val) in getLargeDataThreshold() 655 if (!Val) in getSemanticInterposition() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Use.h | 54 if (Val) in ~Use() 65 operator Value *() const { return Val; } 66 Value *get() const { return Val; } in get() 74 inline void set(Value *Val); 79 Value *operator->() { return Val; } 80 const Value *operator->() const { return Val; } 93 Value *Val = nullptr; 118 static SimpleType getSimplifiedValue(Use &Val) { return Val.get(); } 123 static SimpleType getSimplifiedValue(const Use &Val) { return Val.get(); }
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCTargetDesc.h | 77 if (!Val) in isRunOfOnes() 80 if (isShiftedMask_32(Val)) { in isRunOfOnes() 82 MB = llvm::countl_zero(Val); in isRunOfOnes() 84 ME = llvm::countl_zero((Val - 1) ^ Val); in isRunOfOnes() 87 Val = ~Val; // invert mask in isRunOfOnes() 92 MB = llvm::countl_zero((Val - 1) ^ Val) + 1; in isRunOfOnes() 101 if (!Val) in isRunOfOnes64() 104 if (isShiftedMask_64(Val)) { in isRunOfOnes64() 108 ME = llvm::countl_zero((Val - 1) ^ Val); in isRunOfOnes64() 111 Val = ~Val; // invert mask in isRunOfOnes64() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorCombine.cpp | 265 : Val(Val), Start(Begin), Size(Len) {} in Segment() 1260 ASpan[Index].Seg.Val = Val; in realignLoadGroup() 1381 Value *Val = ASpanV[Index].Seg.Val; in realignStoreGroup() local 1716 assert(Op.X.Val->getType() == Op.Y.Val->getType()); in processFxpMul() 1743 Value *X = Op.X.Val, *Y = Op.Y.Val; in processFxpMul() 1808 assert(Op.X.Val->getType() == Op.Y.Val->getType()); in processFxpMulChopped() 1904 assert(X.Val->getType() == Y.Val->getType()); in createMulQ15() 1914 {X.Val, Y.Val}); in createMulQ15() 1934 {V1, X.Val, Y.Val}); in createMulQ31() 2013 {X.Val, Y.Val}); in createMulH16() [all …]
|