/frameworks/compile/mclinker/lib/Support/ |
D | CommandLine.cpp | 66 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/ |
D | CommandLine.h | 55 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/ |
D | slang_rs_reflection_base.cpp | 157 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()
|
D | slang_rs_reflection_cpp.cpp | 866 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 …]
|
D | slang_rs_reflection_cpp.h | 75 const clang::APValue &Val); 78 const clang::APValue &Val); 80 const clang::APValue &Val);
|
D | slang_rs_export_var.h | 58 inline const clang::APValue &getInit() const { return mInit.Val; } in getInit() 64 return mInitArray[i].Val; in getInitArray()
|
D | slang_rs_reflection.cpp | 425 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 …]
|
D | slang_rs_pragma_handler.cpp | 304 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()
|
D | slang_rs_reflection.h | 237 const clang::APValue &Val); 240 const clang::APValue &Val); 244 const clang::APValue &Val);
|
D | slang_rs_reflection_base.h | 82 static std::string genInitValue(const clang::APValue &Val, bool asBool=false);
|
D | slang_rs_export_var.cpp | 64 mInit.Val = clang::APValue(llvm::APSInt(1)); in RSExportVar()
|
D | slang_rs_object_ref_count.cpp | 1401 llvm::APFloat Val(C.getFloatTypeSemantics(FloatTy)); in CreateZeroInitializerForRSSpecificType() local 1404 Val, in CreateZeroInitializerForRSSpecificType()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 93 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/ |
D | BitcodeReader.cpp | 126 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/ |
D | BitcodeWriter.cpp | 737 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()
|