Searched refs:Val (Results 1 - 15 of 15) sorted by relevance

/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/mclinker/include/mcld/Support/
H A DCommandLine.h55 bool parse(cl::Option &O, StringRef ArgName, StringRef Arg, bool &Val) { argument
56 if (cl::parser<bool>::parse(O, ArgName, Arg, Val))
58 Val = false;
73 mcld::sys::fs::Path &Val);
90 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::ZOption &Val);
/frameworks/compile/slang/
H A Dslang_rs_export_var.h58 inline const clang::APValue &getInit() const { return mInit.Val; }
64 return mInitArray[i].Val;
H A Dslang_rs_reflection_cpp.h75 const clang::APValue &Val);
78 const clang::APValue &Val);
80 const clang::APValue &Val);
H A Dslang_rs_reflection_base.cpp157 string RSReflectionBase::genInitValue(const clang::APValue &Val, bool asBool) { argument
159 switch (Val.getKind()) {
161 llvm::APInt api = Val.getInt();
175 llvm::APFloat apf = Val.getFloat();
H A Dslang_rs_reflection_cpp.cpp866 const clang::APValue &Val) {
867 slangAssert(!Val.isUninit() && "Not a valid initializer");
874 genInitBoolExportVariable(VarName, Val);
876 genInitPrimitiveExportVariable(VarName, Val);
881 if (!Val.isInt() || Val.getInt().getSExtValue() != 0)
889 switch (Val.getKind()) {
894 genInitPrimitiveExportVariable(Name, Val);
901 Val.getVectorLength());
903 const clang::APValue &ElementVal = Val
864 genInitExportVariable(const RSExportType *ET, const std::string &VarName, const clang::APValue &Val) argument
944 genInitPrimitiveExportVariable( const std::string &VarName, const clang::APValue &Val) argument
955 genInitBoolExportVariable(const std::string &VarName, const clang::APValue &Val) argument
[all...]
H A Dslang_rs_reflection_base.h82 static std::string genInitValue(const clang::APValue &Val, bool asBool=false);
H A Dslang_rs_pragma_handler.cpp304 llvm::APInt Val(32, 0);
305 NumericLiteral.GetIntegerValue(Val);
306 this->handleInt(PP, PragmaToken, static_cast<int>(Val.getSExtValue()));
H A Dslang_rs_reflection.h237 const clang::APValue &Val);
240 const clang::APValue &Val);
244 const clang::APValue &Val);
H A Dslang_rs_export_var.cpp64 mInit.Val = clang::APValue(llvm::APSInt(1));
H A Dslang_rs_reflection.cpp425 const clang::APValue &Val) {
426 slangAssert(!Val.isUninit() && "Not a valid initializer");
427 slangAssert((Val.getKind() == clang::APValue::Int)
432 C.out() << ((Val.getInt().getSExtValue() == 0) ? "false" : "true")
441 const clang::APValue &Val) {
442 slangAssert(!Val.isUninit() && "Not a valid initializer");
445 C.out() << RSReflectionBase::genInitValue(Val);
454 const clang::APValue &Val) {
455 slangAssert(!Val.isUninit() && "Not a valid initializer");
462 genInitBoolExportVariable(C, VarName, Val);
423 genInitBoolExportVariable(Context &C, const std::string &VarName, const clang::APValue &Val) argument
438 genInitPrimitiveExportVariable( Context &C, const std::string &VarName, const clang::APValue &Val) argument
451 genInitExportVariable(Context &C, const RSExportType *ET, const std::string &VarName, const clang::APValue &Val) argument
909 const clang::APValue &Val = EV->getInit(); local
[all...]
H A Dslang_rs_object_ref_count.cpp1401 llvm::APFloat Val(C.getFloatTypeSemantics(FloatTy));
1404 Val,
/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);
368 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { argument
369 switch (Val) {
390 GetDecodedVisibility(unsigned Val) argument
399 GetDecodedThreadLocalMode(unsigned Val) argument
410 GetDecodedCastOpcode(unsigned Val) argument
427 GetDecodedBinaryOpcode(unsigned Val, Type *Ty) argument
451 GetDecodedRMWOperation(unsigned Val) argument
468 GetDecodedOrdering(unsigned Val) argument
481 GetDecodedSynchScope(unsigned Val) argument
2839 Value *Val = 0; local
2905 Value *Val; local
2974 Value *Val, *Ptr; local
2988 Value *Val, *Ptr; local
3031 Value *Ptr, *Val; local
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp126 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { argument
127 switch (Val) {
148 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { argument
149 switch (Val) {
157 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { argument
158 switch (Val) {
168 static int GetDecodedCastOpcode(unsigned Val) { argument
169 switch (Val) {
185 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument
186 switch (Val) {
2694 Value *Val, *Ptr; local
2707 Value *Val, *Ptr; local
[all...]
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp737 unsigned &Code, unsigned &AbbrevToUse, const APInt &Val,
740 if (Val.getBitWidth() <= 64) {
741 uint64_t V = Val.getSExtValue();
754 unsigned NWords = Val.getActiveWords();
759 const uint64_t *RawWords = Val.getRawData();
736 EmitAPInt(SmallVectorImpl<uint64_t> &Vals, unsigned &Code, unsigned &AbbrevToUse, const APInt &Val, bool EmitSizeForWideNumbers = false ) argument

Completed in 199 milliseconds