| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| ValueLattice.cpp | 12 raw_ostream &operator<<(raw_ostream &OS, const ValueLatticeElement &Val) { 13 if (Val.isUnknown()) 15 if (Val.isUndef()) 17 if (Val.isOverdefined()) 20 if (Val.isNotConstant()) 21 return OS << "notconstant<" << *Val.getNotConstant() << ">"; 23 if (Val.isConstantRangeIncludingUndef()) 25 << Val.getConstantRange(true).getLower() << ", " 26 << Val.getConstantRange(true).getUpper() << ">"; 28 if (Val.isConstantRange() [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
| ubsan_value.cc | 26 // Val was zero-extended to ValueHandle. Sign-extend from original width 30 return SIntMax(Val) << ExtraBits >> ExtraBits; 33 return *reinterpret_cast<s64*>(Val); 36 return *reinterpret_cast<s128*>(Val); 47 return Val; 49 return *reinterpret_cast<u64*>(Val); 52 return *reinterpret_cast<u128*>(Val); 63 SIntMax Val = getSIntValue(); 64 CHECK(Val >= 0); 65 return Val; [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
| 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...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
| ubsan_value.cpp | 73 // Val was zero-extended to ValueHandle. Sign-extend from original width 77 return SIntMax(UIntMax(Val) << ExtraBits) >> ExtraBits; 80 return *reinterpret_cast<s64*>(Val); 83 return *reinterpret_cast<s128*>(Val); 94 return Val; 96 return *reinterpret_cast<u64*>(Val); 99 return *reinterpret_cast<u128*>(Val); 110 SIntMax Val = getSIntValue(); 111 CHECK(Val >= 0); 112 return Val; [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| TinyPtrVector.h | 41 PtrUnion Val; 47 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 51 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { 52 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 53 Val = new VecTy(*V); 66 if (Val.template is<EltTy>()) { 68 Val = RHS.front(); 70 Val = new VecTy(*RHS.Val.template get<VecTy*>()) [all...] |
| DenseMapInfo.h | 50 //static unsigned getHashValue(const T &Val); 68 uintptr_t Val = static_cast<uintptr_t>(-1); 69 Val <<= Log2MaxAlign; 70 return reinterpret_cast<T*>(Val); 74 uintptr_t Val = static_cast<uintptr_t>(-2); 75 Val <<= Log2MaxAlign; 76 return reinterpret_cast<T*>(Val); 91 static unsigned getHashValue(const char& Val) { return Val * 37U; } 102 static unsigned getHashValue(const unsigned char &Val) { return Val * 37U; [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/ |
| AMDGPUDisassembler.h | 55 MCOperand createRegOperand(unsigned RegClassID, unsigned Val) const; 56 MCOperand createSRegOperand(unsigned SRegClassID, unsigned Val) const; 94 MCOperand decodeOperand_VGPR_32(unsigned Val) const; 95 MCOperand decodeOperand_VRegOrLds_32(unsigned Val) const; 97 MCOperand decodeOperand_VS_32(unsigned Val) const; 98 MCOperand decodeOperand_VS_64(unsigned Val) const; 99 MCOperand decodeOperand_VS_128(unsigned Val) const; 100 MCOperand decodeOperand_VSrc16(unsigned Val) const; 101 MCOperand decodeOperand_VSrcV216(unsigned Val) const; 102 MCOperand decodeOperand_VSrcV232(unsigned Val) const [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/MC/ |
| MCSymbolELF.cpp | 43 unsigned Val; 48 Val = 0; 51 Val = 1; 54 Val = 2; 57 Val = 3; 61 setFlags(OtherFlags | (Val << ELF_STB_Shift)); 66 uint32_t Val = (Flags >> ELF_STB_Shift) & 3; 67 switch (Val) { 93 unsigned Val; 98 Val = 0 [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| MCInstBuilder.h | 37 MCInstBuilder &addImm(int64_t Val) { 38 Inst.addOperand(MCOperand::createImm(Val)); 43 MCInstBuilder &addSFPImm(uint32_t Val) { 44 Inst.addOperand(MCOperand::createSFPImm(Val)); 49 MCInstBuilder &addDFPImm(uint64_t Val) { 50 Inst.addOperand(MCOperand::createDFPImm(Val)); 55 MCInstBuilder &addExpr(const MCExpr *Val) { 56 Inst.addOperand(MCOperand::createExpr(Val)); 61 MCInstBuilder &addInst(const MCInst *Val) { 62 Inst.addOperand(MCOperand::createInst(Val)); [all...] |
| MCRegister.h | 27 constexpr MCRegister(unsigned Val = 0): Reg(Val) {} 65 static MCRegister from(unsigned Val) { 66 assert(Val == NoRegister || isPhysicalRegister(Val)); 67 return MCRegister(Val); 101 static unsigned getHashValue(const MCRegister &Val) { 102 return DenseMapInfo<unsigned>::getHashValue(Val.id());
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| Casting.h | 37 static SimpleType &getSimplifiedValue(From &Val) { return Val; } 47 static RetType getSimplifiedValue(const From& Val) { 48 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 57 static inline bool doit(const From &Val) { 58 return To::classof(&Val); 69 static inline bool doit(const From &Val) { 70 return isa_impl<To, From>::doit(Val); 75 static inline bool doit(const From &Val) { 76 return isa_impl<To, From>::doit(Val); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/ |
| RISCVMatInt.cpp | 16 static void generateInstSeqImpl(int64_t Val, bool IsRV64, 18 if (isInt<32>(Val)) { 26 int64_t Hi20 = ((Val + 0x800) >> 12) & 0xFFFFF; 27 int64_t Lo12 = SignExtend64<12>(Val); 64 int64_t Lo12 = SignExtend64<12>(Val); 65 int64_t Hi52 = ((uint64_t)Val + 0x800ull) >> 12; 78 InstSeq generateInstSeq(int64_t Val, bool IsRV64) { 80 generateInstSeqImpl(Val, IsRV64, Res); 84 if (Val > 0 && Res.size() > 2) { 86 unsigned ShiftAmount = countLeadingZeros((uint64_t)Val); [all...] |
| RISCVMatInt.h | 32 InstSeq generateInstSeq(int64_t Val, bool IsRV64); 36 // `Val` possibly fitting into an immediate, and so may over-estimate. 38 // This will attempt to produce instructions to materialise `Val` as an 40 int getIntMatCost(const APInt &Val, unsigned Size, bool IsRV64);
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| Use.cpp | 17 if (Val == RHS.Val) 20 std::swap(Val, RHS.Val);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/ |
| 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); 75 void setNumUsedSgprs(unsigned CC, unsigned Val); 78 void setScratchSize(unsigned CC, unsigned Val); 81 void setFunctionScratchSize(const MachineFunction &MF, unsigned Val); 98 // ELF::NT_AMD_PAL_METADATA (legacy key=val format), o [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| Use.h | 55 if (Val) 66 operator Value *() const { return Val; } 67 Value *get() const { return Val; } 75 inline void set(Value *Val); 80 Value *operator->() { return Val; } 81 const Value *operator->() const { return Val; } 94 Value *Val = nullptr; 119 static SimpleType getSimplifiedValue(Use &Val) { return Val.get(); } 124 static SimpleType getSimplifiedValue(const Use &Val) { return Val.get(); [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| CFLAliasAnalysisUtils.h | 38 auto *Val = getValPtr(); 39 Result->evict(cast<Function>(Val)); 44 static inline const Function *parentFunctionOfValue(const Value *Val) { 45 if (auto *Inst = dyn_cast<Instruction>(Val)) { 50 if (auto *Arg = dyn_cast<Argument>(Val))
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonArch.h | 21 template <class ArchCont, typename Val> 22 bool ValidArch(ArchCont const &ArchList, Val HexArch) { 24 [HexArch](Val V) { return V == HexArch; }); 27 template <class ArchCont, typename Val> 28 llvm::Optional<ArchEnum> GetCpu(ArchCont const &ArchList, Val CPUString) {
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/VE/ |
| VE.h | 201 inline static VECC::CondCode VEValToCondCode(unsigned Val, bool IsInteger) { 203 switch (Val) { 222 switch (Val) { 305 inline static VERD::RoundingMode VEValToRD(unsigned Val) { 306 switch (Val) { 327 inline static bool isMImmVal(uint64_t Val) { 328 if (Val == 0) { 332 if (isMask_64(Val)) { 337 return (Val & (UINT64_C(1) << 63)) && isShiftedMask_64(Val); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/GISel/ |
| PPCCallLowering.cpp | 27 const Value *Val, ArrayRef<Register> VRegs, 30 assert(((Val && !VRegs.empty()) || (!Val && VRegs.empty())) &&
|
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| PPExpressions.cpp | 50 llvm::APSInt Val; 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. 137 if (Result.Val != 0 && ValueLive) 274 Result.Val = 0; 275 Result.Val.setIsUnsigned(false); // "0" is signed intmax_t 0. 333 if (Literal.GetIntegerValue(Result.Val)) { [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_dense_map_info.h | 66 // static unsigned getHashValue(const T &Val); 84 uptr Val = static_cast<uptr>(-1); 85 Val <<= Log2MaxAlign; 86 return reinterpret_cast<T *>(Val); 90 uptr Val = static_cast<uptr>(-2); 91 Val <<= Log2MaxAlign; 92 return reinterpret_cast<T *>(Val); 109 static constexpr unsigned getHashValue(const char &Val) { return Val * 37U; } 121 static constexpr unsigned getHashValue(const unsigned char &Val) { [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Remarks/ |
| HotnessThresholdParser.h | 35 int64_t Val; 36 if (Arg.getAsInteger(10, Val)) 41 return Val < 0 ? 0 : Val;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| 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);
|
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| TypeOrdering.h | 47 static unsigned getHashValue(clang::QualType Val) { 48 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 49 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9)); 67 static unsigned getHashValue(clang::CanQualType Val) { 68 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 69 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9));
|