/external/clang/test/Sema/ |
H A D | arm-asm.c | 4 int Val; local 5 asm volatile ("lw (r1), %0[val]": "=&b"(Val)); // expected-error {{invalid output constraint '=&b' in asm}}
|
/external/clang/test/CodeGen/ |
H A D | 2002-03-14-BrokenPHINode.c | 11 double Val; local 17 return asa+(int)Val;
|
/external/clang/test/CodeGenCXX/ |
H A D | 2010-03-09-AnonAggregate.cpp | 8 union { struct { union { int BA; } Val; int Offset; } OffsetedInfo; } Contents; member in struct:MO::__anon17982::__anon17983
|
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_value.cc | 24 // Val was zero-extended to ValueHandle. Sign-extend from original width 28 return SIntMax(Val) << ExtraBits >> ExtraBits; 31 return *reinterpret_cast<s64*>(Val); 34 return *reinterpret_cast<s128*>(Val); 45 return Val; 47 return *reinterpret_cast<u64*>(Val); 50 return *reinterpret_cast<u128*>(Val); 61 SIntMax Val = getSIntValue(); 62 CHECK(Val >= 0); 63 return Val; [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 31 llvm::PointerUnion<EltTy, VecTy*> Val; member in class:llvm::TinyPtrVector 35 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 39 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { 40 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 41 Val = new VecTy(*V); 53 if (Val.template is<EltTy>()) { 55 Val = RHS.front(); 57 Val = new VecTy(*RHS.Val [all...] |
H A D | DenseMapInfo.h | 26 //static unsigned getHashValue(const T &Val); 34 uintptr_t Val = static_cast<uintptr_t>(-1); local 35 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; 36 return reinterpret_cast<T*>(Val); 39 uintptr_t Val = static_cast<uintptr_t>(-2); local 40 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; 41 return reinterpret_cast<T*>(Val); 54 static unsigned getHashValue(const char& Val) { return Val * 37U; } argument 64 static unsigned getHashValue(const unsigned& Val) { retur argument 74 getHashValue(const unsigned long& Val) argument 86 getHashValue(const unsigned long long& Val) argument 99 getHashValue(const int& Val) argument 111 getHashValue(const long& Val) argument 123 getHashValue(const long long& Val) argument [all...] |
H A D | PointerUnion.h | 86 ValTy Val; 100 PointerUnion(PT1 V) : Val( 103 PointerUnion(PT2 V) : Val( 112 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer()); 124 return static_cast<int>(Val.getInt()) == TyNo; 132 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer()); 152 assert(is<PT1>() && "Val is not the first pointer"); 153 assert(get<PT1>() == Val.getPointer() && 155 return (PT1 *)Val.getAddrOfPointer(); 160 Val 229 ValTy Val; member in class:llvm::PointerUnion3 232 ValTy Val; member in struct:llvm::PointerUnion3::IsInnerUnion 246 ValTy Val; member in struct:llvm::PointerUnion3::IsPT3 368 ValTy Val; member in class:llvm::PointerUnion4 [all...] |
H A D | Twine.h | 293 explicit Twine(char Val) argument 295 LHS.character = Val; 299 explicit Twine(signed char Val) argument 301 LHS.character = static_cast<char>(Val); 305 explicit Twine(unsigned char Val) argument 307 LHS.character = static_cast<char>(Val); 310 /// Construct a twine to print \p Val as an unsigned decimal integer. 311 explicit Twine(unsigned Val) argument 313 LHS.decUI = Val; 316 /// Construct a twine to print \p Val a 317 Twine(int Val) argument 323 Twine(const unsigned long &Val) argument 329 Twine(const long &Val) argument 335 Twine(const unsigned long long &Val) argument 341 Twine(const long long &Val) argument 378 utohexstr(const uint64_t &Val) argument [all...] |
H A D | UniqueVector.h | 43 unsigned &Val = Map[Entry]; local 46 if (Val) return Val; 49 Val = static_cast<unsigned>(Vector.size()) + 1; 53 return Val;
|
/external/llvm/include/llvm/MC/ |
H A D | MCInstBuilder.h | 38 MCInstBuilder &addImm(int64_t Val) { argument 39 Inst.addOperand(MCOperand::CreateImm(Val)); 44 MCInstBuilder &addFPImm(double Val) { argument 45 Inst.addOperand(MCOperand::CreateFPImm(Val)); 50 MCInstBuilder &addExpr(const MCExpr *Val) { argument 51 Inst.addOperand(MCOperand::CreateExpr(Val)); 56 MCInstBuilder &addInst(const MCInst *Val) { argument 57 Inst.addOperand(MCOperand::CreateInst(Val));
|
H A D | MCInst.h | 78 void setImm(int64_t Val) { argument 80 ImmVal = Val; 88 void setFPImm(double Val) { argument 90 FPImmVal = Val; 97 void setExpr(const MCExpr *Val) { argument 99 ExprVal = Val; 106 void setInst(const MCInst *Val) { argument 108 InstVal = Val; 117 static MCOperand CreateImm(int64_t Val) { argument 120 Op.ImmVal = Val; 123 CreateFPImm(double Val) argument 129 CreateExpr(const MCExpr *Val) argument 135 CreateInst(const MCInst *Val) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Casting.h | 36 static SimpleType &getSimplifiedValue(From &Val) { return Val; } argument 45 static RetType getSimplifiedValue(const From& Val) { argument 46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 55 static inline bool doit(const From &Val) { argument 56 return To::classof(&Val); 68 static inline bool doit(const From &Val) { argument 69 return isa_impl<To, From>::doit(Val); 74 static inline bool doit(const From &Val) { argument 75 return isa_impl<To, From>::doit(Val); 80 doit(const From *Val) argument 87 doit(const From *Val) argument 94 doit(const From *Val) argument 101 doit(const From *Val) argument 111 doit(const From &Val) argument 121 doit(const FromTy &Val) argument 132 isa(const Y &Val) argument 191 doit(From &Val) argument 200 doit(const FromTy &Val) argument 222 cast(const Y &Val) argument 229 cast(Y &Val) argument 236 cast(Y *Val) argument 247 cast_or_null(Y *Val) argument 265 dyn_cast(const Y &Val) argument 271 dyn_cast(Y &Val) argument 277 dyn_cast(Y *Val) argument 286 dyn_cast_or_null(Y *Val) argument [all...] |
H A D | EndianStream.h | 29 template <typename value_type> void write(value_type Val) { argument 30 Val = byte_swap<value_type, endian>(Val); 31 OS.write((const char *)&Val, sizeof(value_type));
|
H A D | MathExtras.h | 49 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) { argument 52 if (!Val) 54 if (Val & 0x1) 62 if ((Val & Mask) == 0) { 63 Val >>= Shift; 76 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) LLVM_DELETED_FUNCTION; 80 inline std::size_t countTrailingZeros<uint32_t>(uint32_t Val, ZeroBehavior ZB) { argument 81 if (ZB != ZB_Undefined && Val == 0) 85 return __builtin_ctz(Val); 88 _BitScanForward(&Index, Val); 95 countTrailingZeros(uint64_t Val, ZeroBehavior ZB) argument 120 countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) argument 146 countLeadingZeros(uint32_t Val, ZeroBehavior ZB) argument 161 countLeadingZeros(uint64_t Val, ZeroBehavior ZB) argument 186 findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) argument 209 findLastSet(T Val, ZeroBehavior ZB = ZB_Max) argument 240 reverseBits(T Val) argument [all...] |
/external/llvm/lib/IR/ |
H A D | Use.cpp | 18 if (Val == RHS.Val) 21 if (Val) 24 Value *OldVal = Val; 25 if (RHS.Val) { 27 Val = RHS.Val; 28 Val->addUse(*this); 30 Val = nullptr; 34 RHS.Val [all...] |
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZ.h | 78 // Return true if Val fits an LLILL operand. 79 static inline bool isImmLL(uint64_t Val) { argument 80 return (Val & ~0x000000000000ffffULL) == 0; 83 // Return true if Val fits an LLILH operand. 84 static inline bool isImmLH(uint64_t Val) { argument 85 return (Val & ~0x00000000ffff0000ULL) == 0; 88 // Return true if Val fits an LLIHL operand. 89 static inline bool isImmHL(uint64_t Val) { argument 90 return (Val & ~0x00000ffff00000000ULL) == 0; 93 // Return true if Val fit 94 isImmHH(uint64_t Val) argument 99 isImmLF(uint64_t Val) argument 104 isImmHF(uint64_t Val) argument [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Use.h | 84 if (Val) 91 Use(PrevPtrTag tag) : Val(nullptr) { Prev.setInt(tag); } 94 operator Value *() const { return Val; } 95 Value *get() const { return Val; } 103 inline void set(Value *Val); 110 set(RHS.Val); 114 Value *operator->() { return Val; } 115 const Value *operator->() const { return Val; } 135 Value *Val; member in class:llvm::Use 161 static SimpleType getSimplifiedValue(Use &Val) { retur argument 165 getSimplifiedValue(const Use &Val) argument [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | LowerAtomic.cpp | 28 Value *Val = CXI->getNewValOperand(); local 32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); 46 Value *Val = RMWI->getValOperand(); local 54 Res = Val; 57 Res = Builder.CreateAdd(Orig, Val); 60 Res = Builder.CreateSub(Orig, Val); 63 Res = Builder.CreateAnd(Orig, Val); 66 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); 69 Res = Builder.CreateOr(Orig, Val); 72 Res = Builder.CreateXor(Orig, Val); [all...] |
/external/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 37 llvm::APSInt Val; member in class:__anon17145::PPValue 40 PPValue(unsigned BitWidth) : Val(BitWidth) {} 42 unsigned getBitWidth() const { return Val.getBitWidth(); } 43 bool isUnsigned() const { return Val.isUnsigned(); } 111 Result.Val = II->hasMacroDefinition(); 112 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. 116 if (Result.Val != 0 && ValueLive) { 149 if (!MD && Result.Val != 0) 196 Result.Val = II->getTokenID() == tok::kw_true; 197 Result.Val [all...] |
/external/clang/include/clang/Serialization/ |
H A D | ContinuousRangeMap.h | 64 void insert(const value_type &Val) { argument 65 if (!Rep.empty() && Rep.back() == Val) 68 assert((Rep.empty() || Rep.back().first < Val.first) && 70 Rep.push_back(Val); 73 void insertOrReplace(const value_type &Val) { argument 74 iterator I = std::lower_bound(Rep.begin(), Rep.end(), Val, Compare()); 75 if (I != Rep.end() && I->first == Val.first) { 76 I->second = Val.second; 80 Rep.insert(I, Val); 122 void insert(const value_type &Val) { argument [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ConstraintManager.h | 31 Optional<bool> Val; member in class:clang::ento::ConditionTruthVal 35 ConditionTruthVal(bool constraint) : Val(constraint) {} 42 return Val.hasValue() && Val.getValue(); 47 return Val.hasValue() && !Val.getValue(); 52 return Val.hasValue(); 58 return !Val.hasValue();
|
/external/clang/include/clang/AST/ |
H A D | TypeOrdering.h | 48 static unsigned getHashValue(clang::QualType Val) { argument 49 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 50 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9)); 68 static unsigned getHashValue(clang::CanQualType Val) { argument 69 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 70 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9));
|
/external/clang/test/SemaTemplate/ |
H A D | template-id-expr.cpp | 6 static void isa(const FromCl &Val) { } argument 10 void isa(const Y &Val) { return isa_impl_cl<Y>::template isa<X>(Val); } argument 13 void f0(const Value &Val) { isa<Value>(Val); } argument
|
/external/clang/lib/AST/ |
H A D | TemplateBase.cpp | 39 const llvm::APSInt &Val = TemplArg.getAsIntegral(); local 42 Out << (Val.getBoolValue() ? "true" : "false"); 44 const char Ch = Val.getZExtValue(); 49 Out << Val; local
|
/external/clang/test/CXX/expr/expr.const/ |
H A D | p3-0x.cpp | 77 template<typename T, T v> struct Val { static constexpr T value = v; }; struct in class:EE::EEE 78 static_assert(Val<bool, E1>::value == 1, ""); // ok 79 static_assert(Val<bool, '\0'>::value == 0, ""); // ok 80 static_assert(Val<bool, U'\1'>::value == 1, ""); // ok 81 static_assert(Val<bool, E5>::value == 1, ""); // expected-error {{5, which cannot be narrowed to type 'bool'}} 100 int n = Val<bool, &S::operator int>::value; // expected-error-re {{conversion from 'int (S::*)(){{( __attribute__\(\(thiscall\)\))?}} const' to 'bool' is not allowed in a converted constant expression}}
|