Searched defs:Val (Results 1 - 5 of 5) sorted by relevance

/frameworks/compile/slang/
H A Dslang_rs_reflection_state.cpp151 const auto &Val = Record->getValue(); local
153 << " allocSize=" << Val.mAllocSize
154 << " postPadding=" << Val.mPostPadding
155 << " ordinary=" << Val.mOrdinary
156 << " matchedByName=" << Val.mMatchedByName
158 const size_t NumFields = Val.mFieldCount;
160 const auto &field = Val.mFields[fieldIdx];
H A Dslang_rs_reflection_cpp.cpp920 const clang::APValue &Val) {
921 slangAssert(!Val.isUninit() && "Not a valid initializer");
928 genInitBoolExportVariable(VarName, Val);
930 genInitPrimitiveExportVariable(VarName, Val);
935 if (!Val.isInt() || Val.getInt().getSExtValue() != 0)
942 switch (Val.getKind()) {
947 genInitPrimitiveExportVariable(Name, Val);
953 static_cast<unsigned>(EVT->getNumElement()), Val.getVectorLength());
955 const clang::APValue &ElementVal = Val
918 genInitExportVariable(const RSExportType *ET, const std::string &VarName, const clang::APValue &Val) argument
1005 genInitPrimitiveExportVariable(const std::string &VarName, const clang::APValue &Val) argument
1014 genInitValue(const clang::APValue &Val, bool asBool) argument
1057 genInitBoolExportVariable(const std::string &VarName, const clang::APValue &Val) argument
[all...]
H A Dslang_rs_reflection.cpp404 size_t Val, ReflectionState::Val32 Val32) {
405 if (Prefix.empty() || (Val != 0) || (Val32.first && (Val32.second != 0 ))) {
408 if (!Val32.first || (Val == Val32.second)) {
411 mOut << Val; local
418 mOut << " ? " << Val << " : " << Val32.second;
737 const clang::APValue &Val) {
738 slangAssert(!Val.isUninit() && "Not a valid initializer");
739 slangAssert((Val.getKind() == clang::APValue::Int) &&
744 mOut << ((Val.getInt().getSExtValue() == 0) ? "false" : "true") << ";\n";
749 const clang::APValue &Val) {
403 genConditionalVal(const std::string &Prefix, bool Parens, size_t Val, ReflectionState::Val32 Val32) argument
736 genInitBoolExportVariable(const std::string &VarName, const clang::APValue &Val) argument
748 genInitPrimitiveExportVariable(const std::string &VarName, const clang::APValue &Val) argument
757 genInitExportVariable(const RSExportType *ET, const std::string &VarName, const clang::APValue &Val) argument
1870 const clang::APValue &Val = EV->getInit(); local
1918 genInitValue(const clang::APValue &Val, bool asBool) argument
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp431 static GlobalValue::LinkageTypes getDecodedLinkage(unsigned Val) {
432 switch (Val) {
470 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) {
471 switch (Val) {
479 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) {
480 switch (Val) {
490 static GlobalVariable::UnnamedAddr getDecodedUnnamedAddrType(unsigned Val) {
491 switch (Val) {
499 static int GetDecodedCastOpcode(unsigned Val) {
500 switch (Val) {
3154 Value *Val, *Ptr; local
3167 Value *Val, *Ptr; local
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp98 Value *Val = EHSel->getArgOperand(j); local
99 if (!Val->hasName() || Val->getName() != "llvm.eh.catch.all.value") {
102 GlobalVariable *GV = cast<GlobalVariable>(Val);
129 Value *Val = EHSel->getArgOperand(j); local
130 if (!Val->hasName() || Val->getName() != "llvm.eh.catch.all.value") {
133 GlobalVariable *GV = cast<GlobalVariable>(Val);
668 static GlobalValue::LinkageTypes getDecodedLinkage(unsigned Val) {
669 switch (Val) {
777 GetDecodedRMWOperation(unsigned Val) argument
794 GetDecodedOrdering(unsigned Val) argument
807 GetDecodedSynchScope(unsigned Val) argument
3298 Value *Val = nullptr; local
3363 Value *Val; local
3433 Value *Val, *Ptr; local
3447 Value *Val, *Ptr; local
3492 Value *Ptr, *Val; local
[all...]

Completed in 276 milliseconds