Home
last modified time | relevance | path

Searched refs:Val (Results 1 – 15 of 15) 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.h55 bool parse(cl::Option &O, StringRef ArgName, StringRef Arg, bool &Val) { in parse() argument
56 if (cl::parser<bool>::parse(O, ArgName, Arg, Val)) in parse()
58 Val = false; in parse()
73 mcld::sys::fs::Path &Val);
90 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::ZOption &Val);
/frameworks/compile/slang/
Dslang_rs_reflection_base.cpp157 string RSReflectionBase::genInitValue(const clang::APValue &Val, bool asBool) { in genInitValue() argument
159 switch (Val.getKind()) { in genInitValue()
161 llvm::APInt api = Val.getInt(); in genInitValue()
175 llvm::APFloat apf = Val.getFloat(); in genInitValue()
Dslang_rs_reflection_cpp.cpp866 const clang::APValue &Val) { in genInitExportVariable() argument
867 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitExportVariable()
874 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
876 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
881 if (!Val.isInt() || Val.getInt().getSExtValue() != 0) in genInitExportVariable()
889 switch (Val.getKind()) { in genInitExportVariable()
894 genInitPrimitiveExportVariable(Name, Val); in genInitExportVariable()
901 Val.getVectorLength()); in genInitExportVariable()
903 const clang::APValue &ElementVal = Val.getVectorElt(i); in genInitExportVariable()
946 const clang::APValue &Val) { in genInitPrimitiveExportVariable() argument
[all …]
Dslang_rs_reflection_cpp.h75 const clang::APValue &Val);
78 const clang::APValue &Val);
80 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.cpp425 const clang::APValue &Val) { in genInitBoolExportVariable() argument
426 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitBoolExportVariable()
427 slangAssert((Val.getKind() == clang::APValue::Int) in genInitBoolExportVariable()
432 C.out() << ((Val.getInt().getSExtValue() == 0) ? "false" : "true") in genInitBoolExportVariable()
441 const clang::APValue &Val) { in genInitPrimitiveExportVariable() argument
442 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitPrimitiveExportVariable()
445 C.out() << RSReflectionBase::genInitValue(Val); in genInitPrimitiveExportVariable()
454 const clang::APValue &Val) { in genInitExportVariable() argument
455 slangAssert(!Val.isUninit() && "Not a valid initializer"); in genInitExportVariable()
462 genInitBoolExportVariable(C, VarName, Val); in genInitExportVariable()
[all …]
Dslang_rs_pragma_handler.cpp304 llvm::APInt Val(32, 0); in handleIntegerParamPragma() local
305 NumericLiteral.GetIntegerValue(Val); in handleIntegerParamPragma()
306 this->handleInt(PP, PragmaToken, static_cast<int>(Val.getSExtValue())); in handleIntegerParamPragma()
Dslang_rs_reflection.h237 const clang::APValue &Val);
240 const clang::APValue &Val);
244 const clang::APValue &Val);
Dslang_rs_reflection_base.h82 static std::string genInitValue(const clang::APValue &Val, bool asBool=false);
Dslang_rs_export_var.cpp64 mInit.Val = clang::APValue(llvm::APSInt(1)); in RSExportVar()
Dslang_rs_object_ref_count.cpp1401 llvm::APFloat Val(C.getFloatTypeSemantics(FloatTy)); in CreateZeroInitializerForRSSpecificType() local
1404 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()
368 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { in GetDecodedLinkage() argument
369 switch (Val) { in GetDecodedLinkage()
390 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { in GetDecodedVisibility() argument
391 switch (Val) { in GetDecodedVisibility()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp126 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { in GetDecodedLinkage() argument
127 switch (Val) { in GetDecodedLinkage()
148 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { in GetDecodedVisibility() argument
149 switch (Val) { in GetDecodedVisibility()
157 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { in GetDecodedThreadLocalMode() argument
158 switch (Val) { in GetDecodedThreadLocalMode()
168 static int GetDecodedCastOpcode(unsigned Val) { in GetDecodedCastOpcode() argument
169 switch (Val) { in GetDecodedCastOpcode()
185 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { in GetDecodedBinaryOpcode() argument
186 switch (Val) { in GetDecodedBinaryOpcode()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp737 unsigned &Code, unsigned &AbbrevToUse, const APInt &Val, in EmitAPInt() argument
740 if (Val.getBitWidth() <= 64) { in EmitAPInt()
741 uint64_t V = Val.getSExtValue(); in EmitAPInt()
754 unsigned NWords = Val.getActiveWords(); in EmitAPInt()
759 const uint64_t *RawWords = Val.getRawData(); in EmitAPInt()