Home
last modified time | relevance | path

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

/external/v8/include/
Dv8-util.h141 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, key))); in Get()
167 reinterpret_cast<internal::Object**>(FromVal(Traits::Get(&impl_, key)))); in SetReference()
223 return Local<V>::New(isolate, FromVal(value_)); in NewLocal()
307 static V* FromVal(PersistentContainerValue v) { in FromVal() function
316 *reinterpret_cast<internal::Object**>(FromVal(value))); in SetReturnValueFromVal()
340 p.val_ = FromVal(v); in Release()
446 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, index))); in Get()
456 p.val_ = FromVal(Traits::Get(&impl_, i)); in Clear()
477 static V* FromVal(PersistentContainerValue v) { in FromVal() function
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp769 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, in ConvertScalar_ExtractValue() argument
773 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue()
775 return FromVal; in ConvertScalar_ExtractValue()
783 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue()
803 Value *V = Builder.CreateExtractElement(FromVal, Idx); in ConvertScalar_ExtractValue()
817 Value *Elt = ConvertScalar_ExtractValue(FromVal, ST->getElementType(i), in ConvertScalar_ExtractValue()
831 Value *Elt = ConvertScalar_ExtractValue(FromVal, AT->getElementType(), in ConvertScalar_ExtractValue()
840 IntegerType *NTy = cast<IntegerType>(FromVal->getType()); in ConvertScalar_ExtractValue()
859 FromVal = Builder.CreateLShr(FromVal, in ConvertScalar_ExtractValue()
860 ConstantInt::get(FromVal->getType(), ShAmt)); in ConvertScalar_ExtractValue()
[all …]
DIndVarSimplify.cpp108 bool isValidRewrite(Value *FromVal, Value *ToVal);
143 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
154 Value *FromPtr = FromVal; in isValidRewrite()
156 if (GEPOperator *GEP = dyn_cast<GEPOperator>(FromVal)) { in isValidRewrite()
162 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
/external/clang/lib/AST/
DASTDiagnostic.cpp1339 APValue &FromVal = FromResult.Val; in IsEqualExpr() local
1342 if (FromVal.getKind() != ToVal.getKind()) return false; in IsEqualExpr()
1344 switch (FromVal.getKind()) { in IsEqualExpr()
1346 return FromVal.getInt() == ToVal.getInt(); in IsEqualExpr()
1348 APValue::LValueBase FromBase = FromVal.getLValueBase(); in IsEqualExpr()
1358 return FromVal.getMemberPointerDecl() == ToVal.getMemberPointerDecl(); in IsEqualExpr()
DASTImporter.cpp2220 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch() local
2223 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()
2224 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()
2225 FromVal == ToVal; in IsStructuralMatch()