Home
last modified time | relevance | path

Searched refs:Mods (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DIRObjectFile.cpp30 std::vector<std::unique_ptr<Module>> Mods) in IRObjectFile() argument
31 : SymbolicFile(Binary::ID_IR, Object), Mods(std::move(Mods)) { in IRObjectFile()
32 for (auto &M : this->Mods) in IRObjectFile()
72 return Mods[0]->getTargetTriple(); in getTargetTriple()
120 std::vector<std::unique_ptr<Module>> Mods; in create() local
128 Mods.push_back(std::move(*MOrErr)); in create()
132 new IRObjectFile(*BCOrErr, std::move(Mods))); in create()
150 F.Mods = std::move(BFCOrErr->Mods); in readIRSymtab()
DIRSymtab.cpp86 std::vector<storage::Module> Mods; member
113 Error build(ArrayRef<Module *> Mods);
131 Mods.push_back(Mod); in addModule()
312 writeRange(Hdr.Modules, Mods); in build()
323 Error irsymtab::build(ArrayRef<Module *> Mods, SmallVector<char, 0> &Symtab, in build() argument
326 return Builder(Symtab, StrtabBuilder, Alloc).build(Mods); in build()
335 std::vector<Module *> Mods; in upgrade() local
344 Mods.push_back(MOrErr->get()); in upgrade()
350 if (Error E = build(Mods, FC.Symtab, StrtabBuilder, Alloc)) in upgrade()
363 if (BFC.Mods.empty()) in readBitcode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DIRObjectFile.h33 std::vector<std::unique_ptr<Module>> Mods; variable
36 std::vector<std::unique_ptr<Module>> Mods);
57 module_iterator module_begin() const { return module_iterator(Mods.begin()); } in module_begin()
58 module_iterator module_end() const { return module_iterator(Mods.end()); } in module_end()
81 std::vector<BitcodeModule> Mods; member
DIRSymtab.h157 Error build(ArrayRef<Module *> Mods, SmallVector<char, 0> &Symtab,
/external/clang/test/Modules/Inputs/PR27890/
Da.h6 template <class Mods>
7 opt(Mods) {} in opt() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DDebugCounter.cpp18 template <class... Mods>
19 explicit DebugCounterList(Mods &&... Ms) : Base(std::forward<Mods>(Ms)...) {} in DebugCounterList()
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp99 friend raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods);
142 Modifiers Mods; member
147 Modifiers Mods; member
198 return isRegKind() && !Reg.Mods.hasModifiers(); in isReg()
348 return isRegKind() ? Reg.Mods : Imm.Mods; in getModifiers()
351 void setModifiers(Modifiers Mods) { in setModifiers() argument
354 Reg.Mods = Mods; in setModifiers()
356 Imm.Mods = Mods; in setModifiers()
372 if (isImmTy(ImmTyNone) && ApplyModifiers && Imm.Mods.hasFPModifiers()) { in addImmOperands()
375 bool Negate = Imm.Mods.Neg; // Only negate can get here in addImmOperands()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp199 bool SelectVOP3PMadMixModsImpl(SDValue In, SDValue &Src, unsigned &Mods) const;
1833 unsigned &Mods) const { in SelectVOP3ModsImpl()
1834 Mods = 0; in SelectVOP3ModsImpl()
1838 Mods |= SISrcMods::NEG; in SelectVOP3ModsImpl()
1843 Mods |= SISrcMods::ABS; in SelectVOP3ModsImpl()
1852 unsigned Mods; in SelectVOP3Mods() local
1853 if (SelectVOP3ModsImpl(In, Src, Mods)) { in SelectVOP3Mods()
1854 SrcMods = CurDAG->getTargetConstant(Mods, SDLoc(In), MVT::i32); in SelectVOP3Mods()
1941 unsigned Mods = 0; in SelectVOP3PMods() local
1945 Mods ^= (SISrcMods::NEG | SISrcMods::NEG_HI); in SelectVOP3PMods()
[all …]
DSIPeepholeSDWA.cpp335 uint64_t Mods = 0; in getSrcMods() local
339 Mods = Mod->getImm(); in getSrcMods()
343 Mods = Mod->getImm(); in getSrcMods()
349 Mods |= Abs ? SISrcMods::ABS : 0; in getSrcMods()
350 Mods ^= Neg ? SISrcMods::NEG : 0; in getSrcMods()
352 Mods |= SISrcMods::SEXT; in getSrcMods()
355 return Mods; in getSrcMods()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cat/
Dllvm-cat.cpp58 std::vector<BitcodeModule> Mods = ExitOnErr(getBitcodeModuleList(*MB)); in main() local
59 for (auto &BitcodeMod : Mods) { in main()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DRecordName.cpp194 uint16_t Mods = static_cast<uint16_t>(Mod.getModifiers()); in visitKnownRecord() local
196 if (Mods & uint16_t(ModifierOptions::Const)) in visitKnownRecord()
198 if (Mods & uint16_t(ModifierOptions::Volatile)) in visitKnownRecord()
200 if (Mods & uint16_t(ModifierOptions::Unaligned)) in visitKnownRecord()
DTypeDumpVisitor.cpp388 uint16_t Mods = static_cast<uint16_t>(Mod.getModifiers()); in visitKnownRecord() local
390 W->printFlags("Modifiers", Mods, makeArrayRef(TypeModifierNames)); in visitKnownRecord()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp128 friend raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods);
189 Modifiers Mods; member
195 Modifiers Mods; member
556 return isRegKind() ? Reg.Mods : Imm.Mods; in getModifiers()
559 void setModifiers(Modifiers Mods) { in setModifiers() argument
562 Reg.Mods = Mods; in setModifiers()
564 Imm.Mods = Mods; in setModifiers()
608 Modifiers Mods = getModifiers(); in addRegOrImmWithInputModsOperands() local
609 Inst.addOperand(MCOperand::createImm(Mods.getModifiersOperand())); in addRegOrImmWithInputModsOperands()
628 Modifiers Mods = getModifiers(); in addRegWithInputModsOperands() local
[all …]
/external/llvm/include/llvm/Support/
DCommandLine.h1137 template <class Opt, class Mod, class... Mods>
1138 void apply(Opt *O, const Mod &M, const Mods &... Ms) {
1310 template <class... Mods>
1311 explicit opt(const Mods &... Ms)
1479 template <class... Mods>
1480 explicit list(const Mods &... Ms)
1616 template <class... Mods>
1617 explicit bits(const Mods &... Ms)
1670 template <class... Mods>
1671 explicit alias(const Mods &... Ms)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCommandLine.h1172 template <class Opt, class Mod, class... Mods>
1173 void apply(Opt *O, const Mod &M, const Mods &... Ms) {
1361 template <class... Mods>
1362 explicit opt(const Mods &... Ms)
1537 template <class... Mods>
1538 explicit list(const Mods &... Ms)
1678 template <class... Mods>
1679 explicit bits(const Mods &... Ms)
1737 template <class... Mods>
1738 explicit alias(const Mods &... Ms)
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCommandLine.h1155 template <class Opt, class Mod, class... Mods>
1156 void apply(Opt *O, const Mod &M, const Mods &... Ms) {
1328 template <class... Mods>
1329 explicit opt(const Mods &... Ms)
1497 template <class... Mods>
1498 explicit list(const Mods &... Ms)
1634 template <class... Mods>
1635 explicit bits(const Mods &... Ms)
1691 template <class... Mods>
1692 explicit alias(const Mods &... Ms)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitcodeWriter.h46 std::vector<Module *> Mods; variable
DBitcodeReader.h119 std::vector<BitcodeModule> Mods; member
/external/llvm/lib/DebugInfo/CodeView/
DTypeDumper.cpp452 uint16_t Mods = static_cast<uint16_t>(Mod.getModifiers()); in visitModifier() local
454 W->printFlags("Modifiers", Mods, makeArrayRef(TypeModifierNames)); in visitModifier()
458 if (Mods & uint16_t(ModifierOptions::Const)) in visitModifier()
460 if (Mods & uint16_t(ModifierOptions::Volatile)) in visitModifier()
462 if (Mods & uint16_t(ModifierOptions::Unaligned)) in visitModifier()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTO.cpp377 for (unsigned I = 0; I != FOrErr->Mods.size(); ++I) { in create()
388 File->Mods = FOrErr->Mods; in create()
394 return Mods[0].getModuleIdentifier(); in getName()
509 for (unsigned I = 0; I != Input->Mods.size(); ++I) in add()
520 Expected<BitcodeLTOInfo> LTOInfo = Input.Mods[ModI].getLTOInfo(); in addModule()
524 BitcodeModule BM = Input.Mods[ModI]; in addModule()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/
DLTO.h92 std::vector<BitcodeModule> Mods; variable
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1431 unsigned Mods = 0; in SelectVOP3Mods() local
1436 Mods |= SISrcMods::NEG; in SelectVOP3Mods()
1441 Mods |= SISrcMods::ABS; in SelectVOP3Mods()
1445 SrcMods = CurDAG->getTargetConstant(Mods, SDLoc(In), MVT::i32); in SelectVOP3Mods()
DSIInstrInfo.cpp1573 const MachineOperand *Mods = getNamedOperand(MI, OpName); in hasModifiersSet() local
1574 return Mods && Mods->getImm(); in hasModifiersSet()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1245 ModifierOptions Mods = ModifierOptions::None; in lowerTypeModifier() local
1252 Mods |= ModifierOptions::Const; in lowerTypeModifier()
1255 Mods |= ModifierOptions::Volatile; in lowerTypeModifier()
1273 ModifierRecord MR(ModifiedTI, Mods); in lowerTypeModifier()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1626 ModifierOptions Mods = ModifierOptions::None; in lowerTypeModifier() local
1634 Mods |= ModifierOptions::Const; in lowerTypeModifier()
1638 Mods |= ModifierOptions::Volatile; in lowerTypeModifier()
1675 if (Mods == ModifierOptions::None) in lowerTypeModifier()
1678 ModifierRecord MR(ModifiedTI, Mods); in lowerTypeModifier()

12