Searched refs:Val (Results 1 – 10 of 10) sorted by relevance
/frameworks/compile/slang/ |
D | slang_rs_reflection_cpp.cpp | 864 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 …]
|
D | slang_rs_reflection_cpp.h | 76 void genInitValue(const clang::APValue &Val, bool asBool = false); 102 const clang::APValue &Val); 105 const clang::APValue &Val); 107 const clang::APValue &Val);
|
D | slang_rs_reflection.cpp | 454 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 …]
|
D | slang_rs_export_var.h | 58 inline const clang::APValue &getInit() const { return mInit.Val; } in getInit() 64 return mInitArray[i].Val; in getInitArray()
|
D | slang_rs_reflection.h | 176 const clang::APValue &Val); 178 const clang::APValue &Val); 180 const clang::APValue &Val); 181 void genInitValue(const clang::APValue &Val, bool asBool);
|
D | slang_rs_pragma_handler.cpp | 321 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()
|
D | slang_rs_export_var.cpp | 51 mInit.Val = clang::APValue(llvm::APSInt(1)); in RSExportVar()
|
D | slang_rs_object_ref_count.cpp | 1394 llvm::APFloat Val(C.getFloatTypeSemantics(FloatTy)); in CreateZeroInitializerForRSSpecificType() local 1397 Val, in CreateZeroInitializerForRSSpecificType()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 98 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/ |
D | BitcodeReader.cpp | 431 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 …]
|