Home
last modified time | relevance | path

Searched refs:FromVal (Results 1 – 6 of 6) sorted by relevance

/external/v8/include/
Dv8-util.h180 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, key)));
206 reinterpret_cast<internal::Object**>(FromVal(Traits::Get(&impl_, key))));
216 reinterpret_cast<internal::Object**>(FromVal(Traits::Get(&impl_, key))),
256 return Local<V>::New(isolate, FromVal(value_));
309 static V* FromVal(PersistentContainerValue v) {
330 p.val_ = FromVal(v);
340 p.val_ = FromVal(Traits::Remove(&impl_, key));
353 *reinterpret_cast<internal::Object**>(FromVal(value)));
615 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, index)));
625 p.val_ = FromVal(Traits::Get(&impl_, i));
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp677 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, in ConvertScalar_ExtractValue() argument
680 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue()
682 return FromVal; in ConvertScalar_ExtractValue()
690 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue()
700 Value *V = Builder.CreateExtractElement(FromVal, Builder.getInt32(Elt)); in ConvertScalar_ExtractValue()
712 Value *Elt = ConvertScalar_ExtractValue(FromVal, ST->getElementType(i), in ConvertScalar_ExtractValue()
724 Value *Elt = ConvertScalar_ExtractValue(FromVal, AT->getElementType(), in ConvertScalar_ExtractValue()
732 IntegerType *NTy = cast<IntegerType>(FromVal->getType()); in ConvertScalar_ExtractValue()
751 FromVal = Builder.CreateLShr(FromVal, in ConvertScalar_ExtractValue()
752 ConstantInt::get(FromVal->getType(), ShAmt)); in ConvertScalar_ExtractValue()
[all …]
DIndVarSimplify.cpp115 bool isValidRewrite(Value *FromVal, Value *ToVal);
153 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
164 Value *FromPtr = FromVal; in isValidRewrite()
166 if (GEPOperator *GEP = dyn_cast<GEPOperator>(FromVal)) { in isValidRewrite()
172 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp456 NonLoc FromVal = val.castAs<NonLoc>(); in evalIntegralCast() local
459 evalBinOpNN(state, BO_LE, FromVal, ToTypeMaxVal, CmpTy).castAs<NonLoc>(); in evalIntegralCast()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp99 bool isValidRewrite(Value *FromVal, Value *ToVal);
132 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
143 Value *FromPtr = FromVal; in isValidRewrite()
145 if (auto *GEP = dyn_cast<GEPOperator>(FromVal)) { in isValidRewrite()
151 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
/external/clang/lib/AST/
DASTImporter.cpp2393 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch() local
2396 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()
2397 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()
2398 FromVal == ToVal; in IsStructuralMatch()