/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 | 52 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/ |
D | slang_rs_reflection_cpp.cpp | 867 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 …]
|
D | slang_rs_reflection_cpp.h | 76 void genInitValue(const clang::APValue &Val, bool asBool = false); 102 const clang::APValue &Val); 105 const clang::APValue &Val); 107 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 | 455 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 …]
|
D | slang_rs_reflection.h | 176 const clang::APValue &Val); 178 const clang::APValue &Val); 180 const clang::APValue &Val); 181 void genInitValue(const clang::APValue &Val, bool asBool);
|
D | slang_rs_pragma_handler.cpp | 321 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()
|
D | slang_rs_export_var.cpp | 51 mInit.Val = clang::APValue(llvm::APSInt(1)); in RSExportVar()
|
D | slang_rs_object_ref_count.cpp | 1378 llvm::APFloat Val(C.getFloatTypeSemantics(FloatTy)); in CreateZeroInitializerForRSSpecificType() local 1381 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() 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/ |
D | BitcodeReader.cpp | 117 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/ |
D | BitcodeWriter.cpp | 732 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()
|