Home
last modified time | relevance | path

Searched refs:Val (Results 1 – 10 of 10) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflection_cpp.cpp864 const clang::APValue &Val) { in genInitExportVariable() argument
865 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitExportVariable()
872 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
874 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
879 if (!Val.isInt() || Val.getInt().getSExtValue() != 0) in genInitExportVariable()
886 switch (Val.getKind()) { in genInitExportVariable()
891 genInitPrimitiveExportVariable(Name, Val); in genInitExportVariable()
897 static_cast<unsigned>(EVT->getNumElement()), Val.getVectorLength()); in genInitExportVariable()
899 const clang::APValue &ElementVal = Val.getVectorElt(i); in genInitExportVariable()
950 const clang::APValue &Val) { in genInitPrimitiveExportVariable() argument
[all …]
Dslang_rs_reflection_cpp.h76 void genInitValue(const clang::APValue &Val, bool asBool = false);
102 const clang::APValue &Val);
105 const clang::APValue &Val);
107 const clang::APValue &Val);
Dslang_rs_reflection.cpp454 const clang::APValue &Val) { in genInitBoolExportVariable() argument
455 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitBoolExportVariable()
456 slangAssert((Val.getKind() == clang::APValue::Int) && in genInitBoolExportVariable()
461 mOut << ((Val.getInt().getSExtValue() == 0) ? "false" : "true") << ";\n"; in genInitBoolExportVariable()
466 const clang::APValue &Val) { in genInitPrimitiveExportVariable() argument
467 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitPrimitiveExportVariable()
470 genInitValue(Val, false); in genInitPrimitiveExportVariable()
476 const clang::APValue &Val) { in genInitExportVariable() argument
477 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitExportVariable()
484 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
[all …]
Dslang_rs_export_var.h58 inline const clang::APValue &getInit() const { return mInit.Val; } in getInit()
64 return mInitArray[i].Val; in getInitArray()
Dslang_rs_reflection.h176 const clang::APValue &Val);
178 const clang::APValue &Val);
180 const clang::APValue &Val);
181 void genInitValue(const clang::APValue &Val, bool asBool);
Dslang_rs_pragma_handler.cpp321 llvm::APInt Val(32, 0); in handleIntegerParamPragma() local
322 NumericLiteral.GetIntegerValue(Val); in handleIntegerParamPragma()
323 this->handleInt(PP, PragmaToken, static_cast<int>(Val.getSExtValue())); in handleIntegerParamPragma()
Dslang_rs_export_var.cpp51 mInit.Val = clang::APValue(llvm::APSInt(1)); in RSExportVar()
Dslang_rs_object_ref_count.cpp1394 llvm::APFloat Val(C.getFloatTypeSemantics(FloatTy)); in CreateZeroInitializerForRSSpecificType() local
1397 Val, in CreateZeroInitializerForRSSpecificType()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp98 Value *Val = EHSel->getArgOperand(j); in TransferClausesToLandingPadInst() local
99 if (!Val->hasName() || Val->getName() != "llvm.eh.catch.all.value") { in TransferClausesToLandingPadInst()
102 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst()
129 Value *Val = EHSel->getArgOperand(j); in TransferClausesToLandingPadInst() local
130 if (!Val->hasName() || Val->getName() != "llvm.eh.catch.all.value") { in TransferClausesToLandingPadInst()
133 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst()
669 static GlobalValue::LinkageTypes getDecodedLinkage(unsigned Val) { in getDecodedLinkage() argument
670 switch (Val) { in getDecodedLinkage()
708 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { in GetDecodedVisibility() argument
709 switch (Val) { in GetDecodedVisibility()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp431 static GlobalValue::LinkageTypes getDecodedLinkage(unsigned Val) { in getDecodedLinkage() argument
432 switch (Val) { in getDecodedLinkage()
470 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { in GetDecodedVisibility() argument
471 switch (Val) { in GetDecodedVisibility()
479 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { in GetDecodedThreadLocalMode() argument
480 switch (Val) { in GetDecodedThreadLocalMode()
490 static int GetDecodedCastOpcode(unsigned Val) { in GetDecodedCastOpcode() argument
491 switch (Val) { in GetDecodedCastOpcode()
507 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { in GetDecodedBinaryOpcode() argument
508 switch (Val) { in GetDecodedBinaryOpcode()
[all …]