Home
last modified time | relevance | path

Searched refs:FromVal (Results 1 – 7 of 7) 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))),
246 return Local<V>::New(isolate, FromVal(value_));
299 static V* FromVal(PersistentContainerValue v) {
320 p.val_ = FromVal(v);
330 p.val_ = FromVal(Traits::Remove(&impl_, key));
343 *reinterpret_cast<internal::Object**>(FromVal(value)));
610 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, index)));
620 p.val_ = FromVal(Traits::Get(&impl_, i));
640 static V* FromVal(PersistentContainerValue v) {
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp139 bool isValidRewrite(Value *FromVal, Value *ToVal);
173 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
184 Value *FromPtr = FromVal; in isValidRewrite()
186 if (auto *GEP = dyn_cast<GEPOperator>(FromVal)) { in isValidRewrite()
192 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()