Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp762 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, in ConvertScalar_ExtractValue() argument
766 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue()
768 return FromVal; in ConvertScalar_ExtractValue()
776 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue()
796 Value *V = Builder.CreateExtractElement(FromVal, Idx); in ConvertScalar_ExtractValue()
810 Value *Elt = ConvertScalar_ExtractValue(FromVal, ST->getElementType(i), in ConvertScalar_ExtractValue()
824 Value *Elt = ConvertScalar_ExtractValue(FromVal, AT->getElementType(), in ConvertScalar_ExtractValue()
832 IntegerType *NTy = cast<IntegerType>(FromVal->getType()); in ConvertScalar_ExtractValue()
851 FromVal = Builder.CreateLShr(FromVal, in ConvertScalar_ExtractValue()
852 ConstantInt::get(FromVal->getType(), ShAmt)); in ConvertScalar_ExtractValue()
[all …]
DIndVarSimplify.cpp103 bool isValidRewrite(Value *FromVal, Value *ToVal);
138 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument
149 Value *FromPtr = FromVal; in isValidRewrite()
151 if (GEPOperator *GEP = dyn_cast<GEPOperator>(FromVal)) { in isValidRewrite()
157 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DASTDiagnostic.cpp1186 APValue &FromVal = FromResult.Val; in IsEqualExpr() local
1189 if (FromVal.getKind() != ToVal.getKind()) return false; in IsEqualExpr()
1191 switch (FromVal.getKind()) { in IsEqualExpr()
1193 return IsSameConvertedInt(ParamWidth, FromVal.getInt(), ToVal.getInt()); in IsEqualExpr()
1195 APValue::LValueBase FromBase = FromVal.getLValueBase(); in IsEqualExpr()
1205 return FromVal.getMemberPointerDecl() == ToVal.getMemberPointerDecl(); in IsEqualExpr()
DASTImporter.cpp2212 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch() local
2215 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()
2216 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()
2217 FromVal == ToVal; in IsStructuralMatch()