Home
last modified time | relevance | path

Searched refs:Val2 (Results 1 – 14 of 14) sorted by relevance

/external/llvm/include/llvm/Support/
DFormat.h99 T2 Val2; variable
102 : format_object_base(fmt), Val1(val1), Val2(val2) { in format_object2()
106 return snprintf(Buffer, BufferSize, Fmt, Val1, Val2); in snprint()
117 T2 Val2; variable
121 : format_object_base(fmt), Val1(val1), Val2(val2), Val3(val3) { in format_object3()
125 return snprintf(Buffer, BufferSize, Fmt, Val1, Val2, Val3); in snprint()
136 T2 Val2; variable
142 : format_object_base(fmt), Val1(val1), Val2(val2), Val3(val3), Val4(val4) { in format_object4()
146 return snprintf(Buffer, BufferSize, Fmt, Val1, Val2, Val3, Val4); in snprint()
157 T2 Val2; variable
[all …]
/external/clang/test/SemaCXX/
Denum-scoped.cpp23 Val2 = 1 enumerator
26 E3 v4 = Val2;
27 E1 v5 = Val2; // expected-error{{cannot initialize a variable}}
31 int x2 = Val2;
33 int a1[Val2];
36 int* p1 = new int[Val2];
Denum.cpp4 Val2 enumerator
14 float& fr = enumerator_type(Val2); in f()
/external/clang/test/SemaTemplate/
Denum-argument.cpp18 Val2, enumerator
19 SumOfValues = Val1 + Val2
Dinstantiate-c99.cpp43 typename Val1, typename Val2>
45 void f(Val1 val1, Val2 val2) { in f()
Dinstantiate-expr-4.cpp227 template<typename T, typename Val1, typename Val2>
229 void f(Val1 val1, Val2 val2) { in f()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp49 static bool isEqual(const DivOpInfo &Val1, const DivOpInfo &Val2) { in isEqual()
50 return Val1.SignedOp == Val2.SignedOp && in isEqual()
51 Val1.Dividend == Val2.Dividend && in isEqual()
52 Val1.Divisor == Val2.Divisor; in isEqual()
/external/llvm/lib/VMCore/
DConstants.cpp1124 APFloat Val2 = APFloat(Val); in isValueValidForType() local
1132 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType()
1134 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1138 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType()
1140 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1144 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1145 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
1146 &Val2.getSemantics() == &APFloat::IEEEdouble) in isValueValidForType()
1148 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1152 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
[all …]
/external/clang/lib/CodeGen/
DCGExpr.cpp2869 llvm::Value *Ptr, llvm::Value *Val1, llvm::Value *Val2, in EmitAtomicOp() argument
2886 llvm::LoadInst *LoadVal2 = CGF.Builder.CreateLoad(Val2); in EmitAtomicOp()
3028 llvm::Value *Ptr, *Order, *OrderFail = 0, *Val1 = 0, *Val2 = 0; in EmitAtomicExpr() local
3081 Val2 = EmitScalarExpr(E->getVal2()); in EmitAtomicExpr()
3083 Val2 = EmitValToTemp(*this, E->getVal2()); in EmitAtomicExpr()
3161 Args.add(RValue::get(EmitCastToVoidPtr(Val2)), in EmitAtomicExpr()
3227 if (Val2) Val2 = Builder.CreateBitCast(Val2, IPtrTy); in EmitAtomicExpr()
3234 EmitAtomicOp(*this, E, Dest, Ptr, Val1, Val2, Size, Align, in EmitAtomicExpr()
3239 EmitAtomicOp(*this, E, Dest, Ptr, Val1, Val2, Size, Align, in EmitAtomicExpr()
3243 EmitAtomicOp(*this, E, Dest, Ptr, Val1, Val2, Size, Align, in EmitAtomicExpr()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp732 Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0); in FoldAndOfICmps() local
742 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
748 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
762 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
769 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
791 if (Val != Val2) return 0; in FoldAndOfICmps()
1461 Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0); in FoldOrOfICmps() local
1469 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps()
1478 if (match(Val, m_Add(m_Specific(Val2), m_ConstantInt(AddCst)))) in FoldOrOfICmps()
1485 if (Val != Val2) return 0; in FoldOrOfICmps()
/external/llvm/lib/Analysis/
DValueTracking.cpp1374 APInt Val2; in isBytewiseValue() local
1377 Val2 = Val.lshr(NextWidth); in isBytewiseValue()
1378 Val2 = Val2.trunc(Val.getBitWidth()/2); in isBytewiseValue()
1382 if (Val != Val2) in isBytewiseValue()
/external/llvm/include/llvm/ADT/
DAPInt.h1661 APInt GreatestCommonDivisor(const APInt& Val1, const APInt& Val2);
/external/clang/lib/AST/
DASTImporter.cpp1027 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent() local
1028 if (!llvm::APSInt::isSameValue(Val1, Val2) || in IsStructurallyEquivalent()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp100 APFloat Val2 = APFloat(Val); in isValueValidForType() local
102 (void) Val2.convert(*EVTToAPFloatSemantics(VT), APFloat::rmNearestTiesToEven, in isValueValidForType()