HomeSort by relevance Sort by last modified time
    Searched refs:Val (Results 1 - 25 of 295) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/include/llvm/ADT/
TinyPtrVector.h 28 llvm::PointerUnion<EltTy, VecTy*> Val;
31 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) {
32 if (VecTy *V = Val.template dyn_cast<VecTy*>())
33 Val = new VecTy(*V);
36 if (VecTy *V = Val.template dyn_cast<VecTy*>())
43 if (Val.isNull()) return true;
44 if (VecTy *Vec = Val.template dyn_cast<VecTy*>())
52 if (Val.template is<EltTy>())
54 return Val.template get<VecTy*>()->size()
    [all...]
DenseMapInfo.h 26 //static unsigned getHashValue(const T &Val);
34 intptr_t Val = -1;
35 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
36 return reinterpret_cast<T*>(Val);
39 intptr_t Val = -2;
40 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
41 return reinterpret_cast<T*>(Val);
54 static unsigned getHashValue(const char& Val) { return Val * 37U; }
64 static unsigned getHashValue(const unsigned& Val) { return Val * 37U;
    [all...]
UniqueVector.h 38 unsigned &Val = Map[Entry];
41 if (Val) return Val;
44 Val = static_cast<unsigned>(Vector.size()) + 1;
48 return Val;
PointerUnion.h 84 ValTy Val;
99 Val.setPointer(
101 Val.setInt(0);
104 Val.setPointer(
106 Val.setInt(1);
114 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer());
126 return static_cast<int>(Val.getInt()) == TyNo;
134 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer());
149 assert(is<PT1>() && "Val is not the first pointer");
150 assert(get<PT1>() == Val.getPointer() &
    [all...]
VectorExtras.h 33 while (T Val = va_arg(Args, T))
34 Result.push_back(Val);
Twine.h 288 explicit Twine(char Val)
290 LHS.character = Val;
294 explicit Twine(signed char Val)
296 LHS.character = static_cast<char>(Val);
300 explicit Twine(unsigned char Val)
302 LHS.character = static_cast<char>(Val);
305 /// Construct a twine to print \arg Val as an unsigned decimal integer.
306 explicit Twine(unsigned Val)
308 LHS.decUI = Val;
311 /// Construct a twine to print \arg Val as a signed decimal integer
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
tgmath.h 68 # define __TGMATH_UNARY_REAL_ONLY(Val, Fct) \
69 (__extension__ ((sizeof (Val) == sizeof (double) \
70 || __builtin_classify_type (Val) != 8) \
71 ? (__tgmath_real_type (Val)) Fct (Val) \
72 : (sizeof (Val) == sizeof (float)) \
73 ? (__tgmath_real_type (Val)) Fct##f (Val) \
74 : (__tgmath_real_type (Val)) __tgml(Fct) (Val)))
    [all...]
  /external/clang/test/CodeGen/
2002-03-14-BrokenPHINode.c 11 double Val;
17 return asa+(int)Val;
  /external/clang/test/CodeGenCXX/
2010-03-09-AnonAggregate.cpp 8 union { struct { union { int BA; } Val; int Offset; } OffsetedInfo; } Contents;
  /external/llvm/include/llvm/Support/
Casting.h 34 static SimpleType &getSimplifiedValue(From &Val) { return Val; }
39 static SimpleType &getSimplifiedValue(const From &Val) {
40 return simplify_type<From>::getSimplifiedValue(static_cast<From&>(Val));
49 static inline bool doit(const From &Val) {
50 return To::classof(&Val);
55 static inline bool doit(const From &Val) {
56 return isa_impl<To, From>::doit(Val);
61 static inline bool doit(const From &Val) {
62 return isa_impl<To, From>::doit(Val);
    [all...]
  /external/llvm/include/llvm/
Use.h 73 if (Val) removeFromList();
82 Use(PrevPtrTag tag) : Val(0) {
88 operator Value*() const { return Val; }
92 Value *get() const { return Val; }
98 inline void set(Value *Val);
105 set(RHS.Val);
109 Value *operator->() { return Val; }
110 const Value *operator->() const { return Val; }
126 Value *Val;
152 static SimpleType getSimplifiedValue(const Use &Val) {
    [all...]
Value.h 323 if (Val) removeFromList();
324 Val = V;
333 static inline bool doit(const Value &Val) {
334 return Val.getValueID() >= Value::ConstantFirstVal &&
335 Val.getValueID() <= Value::ConstantLastVal;
340 static inline bool doit (const Value &Val) {
341 return Val.getValueID() == Value::ArgumentVal;
346 static inline bool doit(const Value &Val) {
347 return Val.getValueID() == Value::InlineAsmVal;
352 static inline bool doit(const Value &Val) {
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LowerAtomic.cpp 27 Value *Val = CXI->getNewValOperand();
31 Value *Res = Builder.CreateSelect(Equal, Val, Orig);
42 Value *Val = RMWI->getValOperand();
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/include/clang/Index/
Entity.h 50 llvm::PointerUnion<Decl *, EntityImpl *> Val;
53 explicit Entity(EntityImpl *impl) : Val(impl) { }
66 return Val.get<Decl *>();
82 return Val.is<Decl *>();
85 bool isValid() const { return !Val.isNull(); }
88 void *getAsOpaquePtr() const { return Val.getOpaqueValue(); }
91 Ent.Val = llvm::PointerUnion<Decl *, EntityImpl *>::getFromOpaqueValue(Ptr);
107 Ent.Val =
113 Ent.Val =
GlobalSelector.h 29 void *Val;
31 explicit GlobalSelector(void *val) : Val(val) { }
34 GlobalSelector() : Val(0) { }
39 bool isValid() const { return Val != 0; }
48 void *getAsOpaquePtr() const { return Val; }
  /external/clang/lib/AST/
TemplateBase.cpp 38 const llvm::APSInt *Val = TemplArg.getAsIntegral();
41 Out << (Val->getBoolValue() ? "true" : "false");
43 const unsigned char Ch = Val->getZExtValue();
49 Out << Val->toString(10);
  /external/clang/lib/Lex/
PPExpressions.cpp 36 llvm::APSInt Val;
39 PPValue(unsigned BitWidth) : Val(BitWidth) {}
41 unsigned getBitWidth() const { return Val.getBitWidth(); }
42 bool isUnsigned() const { return Val.isUnsigned(); }
111 Result.Val = II->hasMacroDefinition();
112 Result.Val.setIsUnsigned(false); // Result is signed intmax_t.
115 if (Result.Val != 0 && ValueLive) {
183 Result.Val = II->getTokenID() == tok::kw_true;
184 Result.Val.setIsUnsigned(false); // "0" is signed intmax_t 0.
224 if (Literal.GetIntegerValue(Result.Val)) {
    [all...]
  /external/llvm/include/llvm/MC/
MCValue.h 56 int64_t Val = 0) {
59 R.Cst = Val;
65 static MCValue get(int64_t Val) {
67 R.Cst = Val;
MCInst.h 73 void setImm(int64_t Val) {
75 ImmVal = Val;
83 void setFPImm(double Val) {
85 FPImmVal = Val;
92 void setExpr(const MCExpr *Val) {
94 ExprVal = Val;
103 static MCOperand CreateImm(int64_t Val) {
106 Op.ImmVal = Val;
109 static MCOperand CreateFPImm(double Val) {
112 Op.FPImmVal = Val;
    [all...]
  /external/clang/include/clang/AST/
TypeOrdering.h 46 static unsigned getHashValue(clang::QualType Val) {
47 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^
48 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9));
66 static unsigned getHashValue(clang::CanQualType Val) {
67 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^
68 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9));
  /external/clang/test/SemaTemplate/
template-id-expr.cpp 6 static void isa(const FromCl &Val) { }
10 void isa(const Y &Val) { return isa_impl_cl<Y>::template isa<X>(Val); }
13 void f0(const Value &Val) { isa<Value>(Val); }
  /external/clang/include/clang/Rewrite/
TokenRewriter.h 59 token_iterator AddTokenBefore(token_iterator I, const char *Val);
60 token_iterator AddTokenAfter(token_iterator I, const char *Val) {
62 return AddTokenBefore(++I, Val);
  /external/llvm/lib/VMCore/
Use.cpp 23 Value *V1(Val);
24 Value *V2(RHS.Val);
32 Val = V2;
35 Val = 0;
39 RHS.Val = V1;
42 RHS.Val = 0;
  /external/clang/test/SemaCXX/
cast-conversion.cpp 29 X0<T> make_X0(const T &Val) {
30 return X0<T>(Val);
  /external/llvm/lib/Analysis/
LazyValueInfo.cpp 73 /// Val: This stores the current lattice value along with the Constant* for
76 Constant *Val;
80 LVILatticeVal() : Tag(undefined), Val(0), Range(1, true) {}
108 return Val;
113 return Val;
142 Val = V;
160 Val = V;
192 Val = RHS.Val;
199 if (Val == RHS.Val
    [all...]

Completed in 603 milliseconds

1 2 3 4 5 6 7 8 91011>>