/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::__anon16018::__anon16019
|
/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 | 33 llvm::PointerUnion<EltTy, VecTy*> Val; member in class:llvm::TinyPtrVector 37 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 41 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { 42 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 43 Val = new VecTy(*V); 55 if (Val.template is<EltTy>()) { 57 Val = RHS.front(); 59 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 | UniqueVector.h | 38 unsigned &Val = Map[Entry]; local 41 if (Val) return Val; 44 Val = static_cast<unsigned>(Vector.size()) + 1; 48 return Val;
|
H A D | PointerUnion.h | 85 ValTy Val; 99 PointerUnion(PT1 V) : Val( 102 PointerUnion(PT2 V) : Val( 111 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer()); 123 return static_cast<int>(Val.getInt()) == TyNo; 131 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer()); 151 assert(is<PT1>() && "Val is not the first pointer"); 152 assert(get<PT1>() == Val.getPointer() && 154 return (PT1 *)Val.getAddrOfPointer(); 160 Val 215 ValTy Val; member in class:llvm::PointerUnion3 218 ValTy Val; member in struct:llvm::PointerUnion3::IsInnerUnion 232 ValTy Val; member in struct:llvm::PointerUnion3::IsPT3 348 ValTy Val; member in class:llvm::PointerUnion4 [all...] |
H A D | Twine.h | 289 explicit Twine(char Val) argument 291 LHS.character = Val; 295 explicit Twine(signed char Val) argument 297 LHS.character = static_cast<char>(Val); 301 explicit Twine(unsigned char Val) argument 303 LHS.character = static_cast<char>(Val); 306 /// Construct a twine to print \p Val as an unsigned decimal integer. 307 explicit Twine(unsigned Val) argument 309 LHS.decUI = Val; 312 /// Construct a twine to print \p Val a 313 Twine(int Val) argument 319 Twine(const unsigned long &Val) argument 325 Twine(const long &Val) argument 331 Twine(const unsigned long long &Val) argument 337 Twine(const long long &Val) argument 374 utohexstr(const uint64_t &Val) argument [all...] |
/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...] |
H A D | MCValue.h | 56 int64_t Val = 0) { 59 R.Cst = Val; 65 static MCValue get(int64_t Val) { argument 67 R.Cst = Val;
|
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZ.h | 55 // Return true if Val fits an LLILL operand. 56 static inline bool isImmLL(uint64_t Val) { argument 57 return (Val & ~0x000000000000ffffULL) == 0; 60 // Return true if Val fits an LLILH operand. 61 static inline bool isImmLH(uint64_t Val) { argument 62 return (Val & ~0x00000000ffff0000ULL) == 0; 65 // Return true if Val fits an LLIHL operand. 66 static inline bool isImmHL(uint64_t Val) { argument 67 return (Val & ~0x00000ffff00000000ULL) == 0; 70 // Return true if Val fit 71 isImmHH(uint64_t Val) argument 76 isImmLF(uint64_t Val) argument 81 isImmHF(uint64_t Val) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Casting.h | 35 static SimpleType &getSimplifiedValue(From &Val) { return Val; } argument 44 static RetType getSimplifiedValue(const From& Val) { argument 45 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 54 static inline bool doit(const From &Val) { argument 55 return To::classof(&Val); 70 static inline bool doit(const From &Val) { argument 71 return isa_impl<To, From>::doit(Val); 76 static inline bool doit(const From &Val) { argument 77 return isa_impl<To, From>::doit(Val); 82 doit(const From *Val) argument 89 doit(const From *Val) argument 96 doit(const From *Val) argument 103 doit(const From *Val) argument 113 doit(const From &Val) argument 123 doit(const FromTy &Val) argument 134 isa(const Y &Val) argument 193 doit(From &Val) argument 202 doit(const FromTy &Val) argument 224 cast(const Y &Val) argument 231 cast(Y &Val) argument 238 cast(Y *Val) argument 248 cast_or_null(Y *Val) argument 266 dyn_cast(const Y &Val) argument 271 dyn_cast(Y &Val) argument 276 dyn_cast(Y *Val) argument 284 dyn_cast_or_null(Y *Val) argument [all...] |
H A D | MathExtras.h | 48 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) { argument 51 if (!Val) 53 if (Val & 0x1) 61 if ((Val & Mask) == 0) { 62 Val >>= Shift; 75 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) LLVM_DELETED_FUNCTION; 79 inline std::size_t countTrailingZeros<uint32_t>(uint32_t Val, ZeroBehavior ZB) { argument 80 if (ZB != ZB_Undefined && Val == 0) 84 return __builtin_ctz(Val); 87 _BitScanForward(&Index, Val); 94 countTrailingZeros(uint64_t Val, ZeroBehavior ZB) argument 119 countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) argument 145 countLeadingZeros(uint32_t Val, ZeroBehavior ZB) argument 160 countLeadingZeros(uint64_t Val, ZeroBehavior ZB) argument 185 findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) argument 208 findLastSet(T Val, ZeroBehavior ZB = ZB_Max) argument 236 reverseBits(T Val) argument [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | LowerAtomic.cpp | 27 Value *Val = CXI->getNewValOperand(); local 31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); 42 Value *Val = RMWI->getValOperand(); local 50 Res = Val; 53 Res = Builder.CreateAdd(Orig, Val); 56 Res = Builder.CreateSub(Orig, Val); 59 Res = Builder.CreateAnd(Orig, Val); 62 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); 65 Res = Builder.CreateOr(Orig, Val); 68 Res = Builder.CreateXor(Orig, Val); [all...] |
/external/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 37 llvm::APSInt Val; member in class:__anon15292::PPValue 40 PPValue(unsigned BitWidth) : Val(BitWidth) {} 42 unsigned getBitWidth() const { return Val.getBitWidth(); } 43 bool isUnsigned() const { return Val.isUnsigned(); } 113 Result.Val = II->hasMacroDefinition(); 114 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. 118 if (Result.Val != 0 && ValueLive) { 150 if (!MD && Result.Val != 0) 197 Result.Val = II->getTokenID() == tok::kw_true; 198 Result.Val [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Value.h | 338 if (Val) removeFromList(); 339 Val = V; 348 static inline bool doit(const Value &Val) { argument 349 return Val.getValueID() >= Value::ConstantFirstVal && 350 Val.getValueID() <= Value::ConstantLastVal; 355 static inline bool doit (const Value &Val) { argument 356 return Val.getValueID() == Value::ArgumentVal; 361 static inline bool doit(const Value &Val) { argument 362 return Val.getValueID() == Value::InlineAsmVal; 367 static inline bool doit(const Value &Val) { argument 373 doit(const Value &Val) argument 379 doit(const Value &Val) argument 385 doit(const Value &Val) argument 391 doit(const Value &Val) argument 397 doit(const Value &Val) argument 404 doit(const Value &Val) argument [all...] |
H A D | Use.h | 75 if (Val) removeFromList(); 84 Use(PrevPtrTag tag) : Val(0) { 90 operator Value*() const { return Val; } 94 Value *get() const { return Val; } 100 inline void set(Value *Val); 107 set(RHS.Val); 111 Value *operator->() { return Val; } 112 const Value *operator->() const { return Val; } 128 Value *Val; member in class:llvm::Use 154 static SimpleType getSimplifiedValue(Use &Val) { argument 160 getSimplifiedValue(const Use &Val) argument [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 {{conversion from 'int (S::*)() const' to 'bool' is not allowed in a converted constant expression}}
|