Lines Matching refs:Val
920 const clang::APValue &Val) { in genInitExportVariable() argument
921 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitExportVariable()
928 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
930 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
935 if (!Val.isInt() || Val.getInt().getSExtValue() != 0) in genInitExportVariable()
942 switch (Val.getKind()) { in genInitExportVariable()
947 genInitPrimitiveExportVariable(Name, Val); in genInitExportVariable()
953 static_cast<unsigned>(EVT->getNumElement()), Val.getVectorLength()); in genInitExportVariable()
955 const clang::APValue &ElementVal = Val.getVectorElt(i); in genInitExportVariable()
1006 const clang::APValue &Val) { in genInitPrimitiveExportVariable() argument
1007 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitPrimitiveExportVariable()
1010 genInitValue(Val); in genInitPrimitiveExportVariable()
1014 void RSReflectionCpp::genInitValue(const clang::APValue &Val, bool asBool) { in genInitValue() argument
1015 switch (Val.getKind()) { in genInitValue()
1017 const llvm::APInt &api = Val.getInt(); in genInitValue()
1031 const llvm::APFloat &apf = Val.getFloat(); in genInitValue()
1058 const clang::APValue &Val) { in genInitBoolExportVariable() argument
1059 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitBoolExportVariable()
1060 slangAssert((Val.getKind() == clang::APValue::Int) && in genInitBoolExportVariable()
1064 << ((Val.getInt().getSExtValue() == 0) ? "false" : "true") in genInitBoolExportVariable()