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

/frameworks/compile/mclinker/include/mcld/Support/
H A DCommandLine.h52 bool parse(cl::Option &O, StringRef ArgName, StringRef Arg, bool &Val) { argument
53 if (cl::parser<bool>::parse(O, ArgName, Arg, Val))
55 Val = false;
70 mcld::sys::fs::Path &Val);
87 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::ZOption &Val);
/frameworks/compile/mclinker/lib/Support/
H A DCommandLine.cpp66 mcld::sys::fs::Path &Val)
68 Val.assign<llvm::StringRef::const_iterator>(Arg.begin(), Arg.end());
100 mcld::ZOption &Val)
103 Val.setKind(ZOption::CombReloc);
105 Val.setKind(ZOption::NoCombReloc);
107 Val.setKind(ZOption::Defs);
109 Val.setKind(ZOption::ExecStack);
111 Val.setKind(ZOption::NoExecStack);
113 Val.setKind(ZOption::InitFirst);
115 Val
63 parse(llvm::cl::Option &O, llvm::StringRef ArgName, llvm::StringRef Arg, mcld::sys::fs::Path &Val) argument
97 parse(llvm::cl::Option &O, llvm::StringRef ArgName, llvm::StringRef Arg, mcld::ZOption &Val) argument
[all...]
/frameworks/compile/slang/
H A Dslang_rs_reflection_cpp.cpp867 const clang::APValue &Val) {
868 slangAssert(!Val.isUninit() && "Not a valid initializer");
875 genInitBoolExportVariable(VarName, Val);
877 genInitPrimitiveExportVariable(VarName, Val);
882 if (!Val.isInt() || Val.getInt().getSExtValue() != 0)
889 switch (Val.getKind()) {
894 genInitPrimitiveExportVariable(Name, Val);
900 static_cast<unsigned>(EVT->getNumElement()), Val.getVectorLength());
902 const clang::APValue &ElementVal = Val
865 genInitExportVariable(const RSExportType *ET, const std::string &VarName, const clang::APValue &Val) argument
952 genInitPrimitiveExportVariable(const std::string &VarName, const clang::APValue &Val) argument
961 genInitValue(const clang::APValue &Val, bool asBool) argument
1004 genInitBoolExportVariable(const std::string &VarName, const clang::APValue &Val) argument
[all...]
H A Dslang_rs_reflection.cpp455 const clang::APValue &Val) {
456 slangAssert(!Val.isUninit() && "Not a valid initializer");
457 slangAssert((Val.getKind() == clang::APValue::Int) &&
462 mOut << ((Val.getInt().getSExtValue() == 0) ? "false" : "true") << ";\n";
467 const clang::APValue &Val) {
468 slangAssert(!Val.isUninit() && "Not a valid initializer");
471 genInitValue(Val, false);
477 const clang::APValue &Val) {
478 slangAssert(!Val.isUninit() && "Not a valid initializer");
485 genInitBoolExportVariable(VarName, Val);
454 genInitBoolExportVariable(const std::string &VarName, const clang::APValue &Val) argument
466 genInitPrimitiveExportVariable(const std::string &VarName, const clang::APValue &Val) argument
475 genInitExportVariable(const RSExportType *ET, const std::string &VarName, const clang::APValue &Val) argument
951 const clang::APValue &Val = EV->getInit(); local
999 genInitValue(const clang::APValue &Val, bool asBool) argument
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp117 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { argument
118 switch (Val) {
140 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { argument
141 switch (Val) {
149 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { argument
150 switch (Val) {
160 static int GetDecodedCastOpcode(unsigned Val) { argument
161 switch (Val) {
177 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument
178 switch (Val) {
2757 Value *Val, *Ptr; local
2770 Value *Val, *Ptr; local
[all...]
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp732 unsigned &Code, unsigned &AbbrevToUse, const APInt &Val,
735 if (Val.getBitWidth() <= 64) {
736 uint64_t V = Val.getSExtValue();
749 unsigned NWords = Val.getActiveWords();
754 const uint64_t *RawWords = Val.getRawData();
731 EmitAPInt(SmallVectorImpl<uint64_t> &Vals, unsigned &Code, unsigned &AbbrevToUse, const APInt &Val, bool EmitSizeForWideNumbers = false ) argument
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp93 Value *Val = EHSel->getArgOperand(j); local
94 if (!Val->hasName() || Val->getName() != "llvm.eh.catch.all.value") {
97 GlobalVariable *GV = cast<GlobalVariable>(Val);
124 Value *Val = EHSel->getArgOperand(j); local
125 if (!Val->hasName() || Val->getName() != "llvm.eh.catch.all.value") {
128 GlobalVariable *GV = cast<GlobalVariable>(Val);
358 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { argument
359 switch (Val) {
381 GetDecodedVisibility(unsigned Val) argument
390 GetDecodedThreadLocalMode(unsigned Val) argument
401 GetDecodedCastOpcode(unsigned Val) argument
418 GetDecodedBinaryOpcode(unsigned Val, Type *Ty) argument
442 GetDecodedRMWOperation(unsigned Val) argument
459 GetDecodedOrdering(unsigned Val) argument
472 GetDecodedSynchScope(unsigned Val) argument
2894 Value *Val = 0; local
2963 Value *Val; local
3033 Value *Val, *Ptr; local
3047 Value *Val, *Ptr; local
3090 Value *Ptr, *Val; local
[all...]

Completed in 2586 milliseconds