Home
last modified time | relevance | path

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

/external/v8/include/
Dv8-util.h179 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, key)));
205 reinterpret_cast<internal::Object**>(FromVal(Traits::Get(&impl_, key))));
244 return Local<V>::New(isolate, FromVal(value_));
297 static V* FromVal(PersistentContainerValue v) {
318 p.val_ = FromVal(v);
328 p.val_ = FromVal(Traits::Remove(&impl_, key));
341 *reinterpret_cast<internal::Object**>(FromVal(value)));
603 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, index)));
613 p.val_ = FromVal(Traits::Get(&impl_, i));
633 static V* FromVal(PersistentContainerValue v) {
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp770 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, in ConvertScalar_ExtractValue() argument
774 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue()
776 return FromVal; in ConvertScalar_ExtractValue()
784 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue()
804 Value *V = Builder.CreateExtractElement(FromVal, Idx); in ConvertScalar_ExtractValue()
818 Value *Elt = ConvertScalar_ExtractValue(FromVal, ST->getElementType(i), in ConvertScalar_ExtractValue()
832 Value *Elt = ConvertScalar_ExtractValue(FromVal, AT->getElementType(), in ConvertScalar_ExtractValue()
841 IntegerType *NTy = cast<IntegerType>(FromVal->getType()); in ConvertScalar_ExtractValue()
860 FromVal = Builder.CreateLShr(FromVal, in ConvertScalar_ExtractValue()
861 ConstantInt::get(FromVal->getType(), ShAmt)); in ConvertScalar_ExtractValue()
[all …]
DIndVarSimplify.cpp127 bool isValidRewrite(Value *FromVal, Value *ToVal);
166 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
177 Value *FromPtr = FromVal; in isValidRewrite()
179 if (auto *GEP = dyn_cast<GEPOperator>(FromVal)) { in isValidRewrite()
185 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
/external/clang/lib/AST/
DASTDiagnostic.cpp1401 APValue &FromVal = FromResult.Val; in IsEqualExpr() local
1404 if (FromVal.getKind() != ToVal.getKind()) return false; in IsEqualExpr()
1406 switch (FromVal.getKind()) { in IsEqualExpr()
1408 return FromVal.getInt() == ToVal.getInt(); in IsEqualExpr()
1410 APValue::LValueBase FromBase = FromVal.getLValueBase(); in IsEqualExpr()
1420 return FromVal.getMemberPointerDecl() == ToVal.getMemberPointerDecl(); in IsEqualExpr()
DASTImporter.cpp2272 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch() local
2275 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()
2276 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()
2277 FromVal == ToVal; in IsStructuralMatch()