Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/lib/Support/
DCommandLine.cpp66 mcld::sys::fs::Path &Val) in parse() argument
68 Val.assign<llvm::StringRef::const_iterator>(Arg.begin(), Arg.end()); in parse()
100 mcld::ZOption &Val) in parse() argument
103 Val.setKind(ZOption::CombReloc); in parse()
105 Val.setKind(ZOption::NoCombReloc); in parse()
107 Val.setKind(ZOption::Defs); in parse()
109 Val.setKind(ZOption::ExecStack); in parse()
111 Val.setKind(ZOption::NoExecStack); in parse()
113 Val.setKind(ZOption::InitFirst); in parse()
115 Val.setKind(ZOption::InterPose); in parse()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCommandLine.h52 bool parse(cl::Option &O, StringRef ArgName, StringRef Arg, bool &Val) { in parse() argument
53 if (cl::parser<bool>::parse(O, ArgName, Arg, Val)) in parse()
55 Val = false; in parse()
70 mcld::sys::fs::Path &Val);
87 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::ZOption &Val);
/frameworks/compile/slang/
Dslang_rs_reflection_cpp.cpp867 const clang::APValue &Val) { in genInitExportVariable() argument
868 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitExportVariable()
875 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
877 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
882 if (!Val.isInt() || Val.getInt().getSExtValue() != 0) in genInitExportVariable()
889 switch (Val.getKind()) { in genInitExportVariable()
894 genInitPrimitiveExportVariable(Name, Val); in genInitExportVariable()
900 static_cast<unsigned>(EVT->getNumElement()), Val.getVectorLength()); in genInitExportVariable()
902 const clang::APValue &ElementVal = Val.getVectorElt(i); in genInitExportVariable()
953 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_export_var.h58 inline const clang::APValue &getInit() const { return mInit.Val; } in getInit()
64 return mInitArray[i].Val; in getInitArray()
Dslang_rs_reflection.cpp455 const clang::APValue &Val) { in genInitBoolExportVariable() argument
456 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitBoolExportVariable()
457 slangAssert((Val.getKind() == clang::APValue::Int) && in genInitBoolExportVariable()
462 mOut << ((Val.getInt().getSExtValue() == 0) ? "false" : "true") << ";\n"; in genInitBoolExportVariable()
467 const clang::APValue &Val) { in genInitPrimitiveExportVariable() argument
468 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitPrimitiveExportVariable()
471 genInitValue(Val, false); in genInitPrimitiveExportVariable()
477 const clang::APValue &Val) { in genInitExportVariable() argument
478 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitExportVariable()
485 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
[all …]
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.cpp1378 llvm::APFloat Val(C.getFloatTypeSemantics(FloatTy)); in CreateZeroInitializerForRSSpecificType() local
1381 Val, in CreateZeroInitializerForRSSpecificType()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp93 Value *Val = EHSel->getArgOperand(j); in TransferClausesToLandingPadInst() local
94 if (!Val->hasName() || Val->getName() != "llvm.eh.catch.all.value") { in TransferClausesToLandingPadInst()
97 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst()
124 Value *Val = EHSel->getArgOperand(j); in TransferClausesToLandingPadInst() local
125 if (!Val->hasName() || Val->getName() != "llvm.eh.catch.all.value") { in TransferClausesToLandingPadInst()
128 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst()
358 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { in GetDecodedLinkage() argument
359 switch (Val) { in GetDecodedLinkage()
381 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { in GetDecodedVisibility() argument
382 switch (Val) { in GetDecodedVisibility()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp117 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { in GetDecodedLinkage() argument
118 switch (Val) { in GetDecodedLinkage()
140 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { in GetDecodedVisibility() argument
141 switch (Val) { in GetDecodedVisibility()
149 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { in GetDecodedThreadLocalMode() argument
150 switch (Val) { in GetDecodedThreadLocalMode()
160 static int GetDecodedCastOpcode(unsigned Val) { in GetDecodedCastOpcode() argument
161 switch (Val) { in GetDecodedCastOpcode()
177 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { in GetDecodedBinaryOpcode() argument
178 switch (Val) { in GetDecodedBinaryOpcode()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp732 unsigned &Code, unsigned &AbbrevToUse, const APInt &Val, in EmitAPInt() argument
735 if (Val.getBitWidth() <= 64) { in EmitAPInt()
736 uint64_t V = Val.getSExtValue(); in EmitAPInt()
749 unsigned NWords = Val.getActiveWords(); in EmitAPInt()
754 const uint64_t *RawWords = Val.getRawData(); in EmitAPInt()