Home
last modified time | relevance | path

Searched refs:Val (Results 1 – 25 of 612) sorted by relevance

12345678910>>...25

/external/v8/test/cctest/compiler/
Dtest-run-jsbranches.cc14 T.CheckCall(T.Val(23), T.true_value(), T.undefined()); in TEST()
15 T.CheckCall(T.Val(42), T.false_value(), T.undefined()); in TEST()
16 T.CheckCall(T.Val(42), T.undefined(), T.undefined()); in TEST()
17 T.CheckCall(T.Val(42), T.Val(0.0), T.undefined()); in TEST()
18 T.CheckCall(T.Val(23), T.Val(999), T.undefined()); in TEST()
19 T.CheckCall(T.Val(23), T.Val("x"), T.undefined()); in TEST()
31 T.CheckCall(T.Val(999), T.Val(777), T.Val(999)); in TEST()
32 T.CheckCall(T.Val(0.0), T.Val(0.0), T.Val(999)); in TEST()
33 T.CheckCall(T.Val("b"), T.Val("a"), T.Val("b")); in TEST()
45 T.CheckCall(T.Val(777), T.Val(777), T.Val(999)); in TEST()
[all …]
Dtest-run-jsops.cc17 T.CheckCall(T.Val("AB"), T.Val("A"), T.Val("B")); in TEST()
18 T.CheckCall(T.Val("A11"), T.Val("A"), T.Val(11)); in TEST()
19 T.CheckCall(T.Val("12B"), T.Val(12), T.Val("B")); in TEST()
20 T.CheckCall(T.Val("38"), T.Val("3"), T.Val("8")); in TEST()
21 T.CheckCall(T.Val("31"), T.Val("3"), T.NewObject("([1])")); in TEST()
22 T.CheckCall(T.Val("3[object Object]"), T.Val("3"), T.NewObject("({})")); in TEST()
31 T.CheckCall(T.Val(-9), T.Val("0"), T.Val(9)); in TEST()
32 T.CheckCall(T.Val(-9), T.Val(0.0), T.Val("9")); in TEST()
33 T.CheckCall(T.Val(1), T.Val("3"), T.Val("2")); in TEST()
34 T.CheckCall(T.nan(), T.Val("3"), T.Val("B")); in TEST()
[all …]
Dtest-run-jscalls.cc15 T.CheckCall(T.Val(3), foo, T.Val(3)); in TEST()
16 T.CheckCall(T.Val(3.1), foo, T.Val(3.1)); in TEST()
18 T.CheckCall(T.Val("Abba"), foo, T.Val("Abba")); in TEST()
27 T.CheckCall(T.Val(3), foo, T.Val(3)); in TEST()
28 T.CheckCall(T.Val(3.1), foo, T.Val(3.1)); in TEST()
30 T.CheckCall(T.Val("Abba"), foo, T.Val("Abba")); in TEST()
39 T.CheckCall(T.Val(6), foo, T.Val(3)); in TEST()
40 T.CheckCall(T.Val(6.1), foo, T.Val(3.1)); in TEST()
41 T.CheckCall(T.Val("function (a,b) { return a + b; }3"), foo, foo); in TEST()
42 T.CheckCall(T.Val("Abba3"), foo, T.Val("Abba")); in TEST()
[all …]
Dtest-run-intrinsics.cc18 T.CheckCall(T.Val(129), T.NewObject("({d:123})"), T.NewObject("f")); in TEST()
19 T.CheckCall(T.Val("6x"), T.NewObject("({d:'x'})"), T.NewObject("f")); in TEST()
26 T.CheckCall(T.Val("Function"), T.NewObject("(function() {})")); in TEST()
27 T.CheckCall(T.Val("Array"), T.NewObject("([1])")); in TEST()
28 T.CheckCall(T.Val("Object"), T.NewObject("({})")); in TEST()
29 T.CheckCall(T.Val("RegExp"), T.NewObject("(/x/)")); in TEST()
32 T.CheckCall(T.null(), T.Val("x")); in TEST()
33 T.CheckCall(T.null(), T.Val(1)); in TEST()
72 T.CheckFalse(T.Val("x")); in TEST()
73 T.CheckFalse(T.Val(1)); in TEST()
[all …]
Dtest-run-inlining.cc72 T.CheckCall(T.Val(1), T.Val(1), T.Val(2)); in TEST()
86 T.CheckCall(T.Val(1), T.Val(1), T.Val(2)); in TEST()
100 T.CheckCall(T.Val(1), T.Val(1), T.Val(2)); in TEST()
114 T.CheckCall(T.Val(13), T.Val(1), T.Val(2)); in TEST()
131 T.CheckCall(T.Val(13), T.Val(1), T.Val(2)); in TEST()
146 T.CheckCall(T.Val(42 + 12), T.Val(12), T.undefined()); in TEST()
162 T.CheckCall(T.Val(42), T.Val("x"), T.undefined()); in TEST()
177 T.CheckCall(T.Val(42 + 12), T.Val(12), T.undefined()); in TEST()
193 T.CheckCall(T.true_value(), T.Val(11), T.undefined()); in TEST()
210 T.CheckCall(T.true_value(), T.Val(12), T.Val(14)); in TEST()
[all …]
Dtest-run-jsexceptions.cc15 T.CheckCall(T.Val(23), T.false_value(), T.Val(23)); in TEST()
31 message = T.CheckThrowsReturnMessage(T.Val(1), T.undefined()); in TEST()
35 message = T.CheckThrowsReturnMessage(T.Val(2), T.undefined()); in TEST()
39 message = T.CheckThrowsReturnMessage(T.Val(3), T.undefined()); in TEST()
55 message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?")); in TEST()
58 message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!")); in TEST()
78 message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?")); in TEST()
81 message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!")); in TEST()
100 T.CheckCall(T.Val("-A-B-")); in TEST()
123 T.CheckCall(T.Val("-A-B-C-")); in TEST()
[all …]
Dtest-run-jsobjects.cc15 T.Call(T.Val(19), T.Val(23), T.Val(42), T.Val(65)).ToHandle(&arguments); in TEST()
28 T.Call(T.Val(19), T.Val(23), T.Val(42), T.Val(65)).ToHandle(&arguments); in TEST()
41 T.Call(T.Val(19), T.Val(23), T.Val(42), T.Val(65)).ToHandle(&arguments); in TEST()
/external/llvm/include/llvm/ADT/
DTinyPtrVector.h33 PtrUnion Val;
38 if (VecTy *V = Val.template dyn_cast<VecTy*>()) in ~TinyPtrVector()
42 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { in TinyPtrVector()
43 if (VecTy *V = Val.template dyn_cast<VecTy*>()) in TinyPtrVector()
44 Val = new VecTy(*V); in TinyPtrVector()
56 if (Val.template is<EltTy>()) {
58 Val = RHS.front();
60 Val = new VecTy(*RHS.Val.template get<VecTy*>());
65 if (RHS.Val.template is<EltTy>()) {
66 Val.template get<VecTy*>()->clear();
[all …]
DDenseMapInfo.h37 uintptr_t Val = static_cast<uintptr_t>(-1);
38 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
39 return reinterpret_cast<T*>(Val);
42 uintptr_t Val = static_cast<uintptr_t>(-2);
43 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
44 return reinterpret_cast<T*>(Val);
57 static unsigned getHashValue(const char& Val) { return Val * 37U; }
67 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
77 static unsigned getHashValue(const unsigned long& Val) {
78 return (unsigned)(Val * 37UL);
[all …]
DPointerUnion.h86 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());
153 assert(get<PT1>() == Val.getPointer() &&
155 return (PT1 *)Val.getAddrOfPointer();
160 Val.initWithPointer(nullptr);
167 Val.initWithPointer(
[all …]
/external/llvm/include/llvm/Support/
DCasting.h36 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
45 static RetType getSimplifiedValue(const From& Val) {
46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
55 static inline bool doit(const From &Val) {
56 return To::classof(&Val);
68 static inline bool doit(const From &Val) {
69 return isa_impl<To, From>::doit(Val);
74 static inline bool doit(const From &Val) {
75 return isa_impl<To, From>::doit(Val);
80 static inline bool doit(const From *Val) {
[all …]
DEndianStream.h29 template <typename value_type> void write(value_type Val) { in write()
30 Val = byte_swap<value_type, endian>(Val); in write()
31 OS.write((const char *)&Val, sizeof(value_type)); in write()
37 inline void Writer<little>::write<float>(float Val) {
38 write(FloatToBits(Val));
43 inline void Writer<little>::write<double>(double Val) {
44 write(DoubleToBits(Val));
49 inline void Writer<big>::write<float>(float Val) {
50 write(FloatToBits(Val));
55 inline void Writer<big>::write<double>(double Val) {
[all …]
DMathExtras.h44 static std::size_t count(T Val, ZeroBehavior) { in count()
45 if (!Val) in count()
47 if (Val & 0x1) in count()
55 if ((Val & Mask) == 0) { in count()
56 Val >>= Shift; in count()
68 static std::size_t count(T Val, ZeroBehavior ZB) {
69 if (ZB != ZB_Undefined && Val == 0)
73 return __builtin_ctz(Val);
76 _BitScanForward(&Index, Val);
84 static std::size_t count(T Val, ZeroBehavior ZB) {
[all …]
/external/clang/lib/Lex/
DPPExpressions.cpp37 llvm::APSInt Val; member in __anonc555debc0111::PPValue
40 PPValue(unsigned BitWidth) : Val(BitWidth) {} in PPValue()
42 unsigned getBitWidth() const { return Val.getBitWidth(); } in getBitWidth()
43 bool isUnsigned() const { return Val.isUnsigned(); } in isUnsigned()
112 Result.Val = !!Macro; in EvaluateDefined()
113 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. in EvaluateDefined()
116 if (Result.Val != 0 && ValueLive) in EvaluateDefined()
190 Result.Val = II->getTokenID() == tok::kw_true; in EvaluateValue()
191 Result.Val.setIsUnsigned(false); // "0" is signed intmax_t 0. in EvaluateValue()
239 if (Literal.GetIntegerValue(Result.Val)) { in EvaluateValue()
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_value.cc30 return SIntMax(Val) << ExtraBits >> ExtraBits; in getSIntValue()
33 return *reinterpret_cast<s64*>(Val); in getSIntValue()
36 return *reinterpret_cast<s128*>(Val); in getSIntValue()
47 return Val; in getUIntValue()
49 return *reinterpret_cast<u64*>(Val); in getUIntValue()
52 return *reinterpret_cast<u128*>(Val); in getUIntValue()
63 SIntMax Val = getSIntValue(); in getPositiveIntValue() local
64 CHECK(Val >= 0); in getPositiveIntValue()
65 return Val; in getPositiveIntValue()
80 internal_memcpy(&Value, &Val, 4); in getFloatValue()
[all …]
/external/llvm/lib/MC/
DMCSymbolELF.cpp45 unsigned Val; in setBinding() local
50 Val = 0; in setBinding()
53 Val = 1; in setBinding()
56 Val = 2; in setBinding()
59 Val = 3; in setBinding()
63 setFlags(OtherFlags | (Val << ELF_STB_Shift)); in setBinding()
68 uint32_t Val = (getFlags() & (0x3 << ELF_STB_Shift)) >> ELF_STB_Shift; in getBinding() local
69 switch (Val) { in getBinding()
95 unsigned Val; in setType() local
100 Val = 0; in setType()
[all …]
/external/llvm/lib/Support/
DYAMLTraits.cpp731 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) { in output() argument
732 Out << (Val ? "true" : "false"); in output()
735 StringRef ScalarTraits<bool>::input(StringRef Scalar, void *, bool &Val) { in input() argument
737 Val = true; in input()
740 Val = false; in input()
746 void ScalarTraits<StringRef>::output(const StringRef &Val, void *, in output() argument
748 Out << Val; in output()
752 StringRef &Val) { in input() argument
753 Val = Scalar; in input()
757 void ScalarTraits<std::string>::output(const std::string &Val, void *, in output() argument
[all …]
/external/curl/include/curl/
Dcurlrules.h208 # define CURL_OFF_T_C(Val) __CURL_OFF_T_C_HLPR1(Val) ## \ argument
210 # define CURL_OFF_TU_C(Val) __CURL_OFF_T_C_HLPR1(Val) ## \ argument
214 # define __CURL_OFF_T_C_HLPR2(Val,Suffix) Val ## Suffix argument
216 # define __CURL_OFF_T_C_HLPR2(Val,Suffix) Val/**/Suffix argument
218 # define __CURL_OFF_T_C_HLPR1(Val,Suffix) __CURL_OFF_T_C_HLPR2(Val,Suffix) argument
219 # define CURL_OFF_T_C(Val) __CURL_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_T) argument
220 # define CURL_OFF_TU_C(Val) __CURL_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_TU) argument
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.h60 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { in isRunOfOnes() argument
61 if (!Val) in isRunOfOnes()
64 if (isShiftedMask_32(Val)) { in isRunOfOnes()
66 MB = countLeadingZeros(Val); in isRunOfOnes()
68 ME = countLeadingZeros((Val - 1) ^ Val); in isRunOfOnes()
71 Val = ~Val; // invert mask in isRunOfOnes()
72 if (isShiftedMask_32(Val)) { in isRunOfOnes()
74 ME = countLeadingZeros(Val) - 1; in isRunOfOnes()
76 MB = countLeadingZeros((Val - 1) ^ Val) + 1; in isRunOfOnes()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp28 Value *Val = CXI->getNewValOperand(); in LowerAtomicCmpXchgInst() local
32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst()
46 Value *Val = RMWI->getValOperand(); in LowerAtomicRMWInst() local
54 Res = Val; in LowerAtomicRMWInst()
57 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
60 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
63 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
66 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
69 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
72 Res = Builder.CreateXor(Orig, Val); in LowerAtomicRMWInst()
[all …]
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp85 Constant *Val; member in __anonead08eb30111::LVILatticeVal
89 LVILatticeVal() : Tag(undefined), Val(nullptr), Range(1, true) {} in LVILatticeVal()
122 return Val; in getConstant()
127 return Val; in getNotConstant()
156 Val = V; in markConstant()
174 Val = V; in markNotConstant()
206 Val = RHS.Val; in mergeIn()
213 if (Val == RHS.Val) in mergeIn()
219 if (Val == RHS.Val) in mergeIn()
243 if (Val == RHS.Val) in mergeIn()
[all …]
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp99 static uint32_t getLit32Encoding(uint32_t Val) { in getLit32Encoding() argument
100 uint32_t IntImm = getIntInlineImmEncoding(static_cast<int32_t>(Val)); in getLit32Encoding()
104 if (Val == FloatToBits(0.5f)) in getLit32Encoding()
107 if (Val == FloatToBits(-0.5f)) in getLit32Encoding()
110 if (Val == FloatToBits(1.0f)) in getLit32Encoding()
113 if (Val == FloatToBits(-1.0f)) in getLit32Encoding()
116 if (Val == FloatToBits(2.0f)) in getLit32Encoding()
119 if (Val == FloatToBits(-2.0f)) in getLit32Encoding()
122 if (Val == FloatToBits(4.0f)) in getLit32Encoding()
125 if (Val == FloatToBits(-4.0f)) in getLit32Encoding()
[all …]
/external/llvm/include/llvm/IR/
DUse.h83 if (Val) in ~Use()
90 Use(PrevPtrTag tag) : Val(nullptr) { Prev.setInt(tag); } in Use()
93 operator Value *() const { return Val; }
94 Value *get() const { return Val; } in get()
102 inline void set(Value *Val);
109 set(RHS.Val);
113 Value *operator->() { return Val; }
114 const Value *operator->() const { return Val; }
134 Value *Val; variable
160 static SimpleType getSimplifiedValue(Use &Val) { return Val.get(); }
[all …]
/external/llvm/include/llvm/MC/
DMCInst.h78 void setImm(int64_t Val) { in setImm() argument
80 ImmVal = Val; in setImm()
88 void setFPImm(double Val) { in setFPImm() argument
90 FPImmVal = Val; in setFPImm()
97 void setExpr(const MCExpr *Val) { in setExpr() argument
99 ExprVal = Val; in setExpr()
106 void setInst(const MCInst *Val) { in setInst() argument
108 InstVal = Val; in setInst()
117 static MCOperand createImm(int64_t Val) { in createImm() argument
120 Op.ImmVal = Val; in createImm()
[all …]
/external/llvm/lib/IR/
DUse.cpp18 if (Val == RHS.Val) in swap()
21 if (Val) in swap()
24 Value *OldVal = Val; in swap()
25 if (RHS.Val) { in swap()
27 Val = RHS.Val; in swap()
28 Val->addUse(*this); in swap()
30 Val = nullptr; in swap()
34 RHS.Val = OldVal; in swap()
35 RHS.Val->addUse(RHS); in swap()
37 RHS.Val = nullptr; in swap()

12345678910>>...25