Searched refs:BA (Results 1 - 25 of 71) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.cpp128 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG))
129 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG))
157 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) {
158 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) {
188 auto BA = DFG.addr<NodeBase*>(I); local
189 uint16_t Type = BA.Addr->getType();
196 uint16_t Kind = BA.Addr->getKind();
198 for (auto N : NodeAddr<CodeNode*>(BA).Addr->members(DFG))
232 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); local
233 BA
[all...]
H A DRDFCopy.cpp70 NodeAddr<BlockNode*> BA = DFG.findBlock(B); local
72 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) {
H A DHexagonRDFOpt.cpp163 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) {
164 for (auto TA : BA.Addr->members_if(DFG.IsCode<NodeAttrs::Stmt>, DFG)) {
H A DHexagonOptAddrMode.cpp91 bool processBlock(NodeAddr<BlockNode *> BA);
687 bool HexagonOptAddrMode::processBlock(NodeAddr<BlockNode *> BA) { argument
690 for (auto IA : BA.Addr->members(*DFG)) {
806 for (NodeAddr<BlockNode *> BA : FA.Addr->members(*DFG))
807 Changed |= processBlock(BA);
/freebsd-11-stable/stand/libsa/
H A Dglobals.c20 u_char bcea[6] = BA; /* broadcast ethernet address */
H A Dnet.h48 #define BA { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } macro
H A Darp.c62 { {0xffffffff}, BA }
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp136 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); local
140 if (!BA->isConstantUsed())
148 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType()));
155 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(BBIndexC, BA->getType()));
H A DRDFLiveness.cpp174 NodeAddr<BlockNode*> BA = PA.Addr->getOwner(DFG);
175 return BA.Addr->getCode();
182 MachineBasicBlock *BA = Block(OA), *BB = Block(OB);
183 if (BA != BB)
184 return MDT.dominates(BB, BA);
324 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); local
325 NodeList Ins = BA.Addr->members(DFG);
362 MachineBasicBlock *BB = BA.Addr->getCode();
363 BA = NodeAddr<BlockNode*>();
366 BA
1002 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); local
[all...]
H A DRDFGraph.cpp855 NodeAddr<BlockNode*> BA = newNode(NodeAttrs::Code | NodeAttrs::Block); local
856 BA.Addr->setCode(BB);
857 Owner.Addr->addMember(BA, *this);
858 return BA;
876 NodeAddr<BlockNode*> BA = newBlock(Func, &B); local
877 BlockNodes.insert(std::make_pair(&B, BA));
881 buildStmt(BA, I);
890 for (NodeAddr<BlockNode*> BA : Blocks)
891 for (NodeAddr<InstrNode*> IA : BA.Addr->members(*this))
923 for (NodeAddr<BlockNode*> BA
1250 buildStmt(NodeAddr<BlockNode*> BA, MachineInstr &In) argument
1385 recordDefsForDF(BlockRefsMap &PhiM, NodeAddr<BlockNode*> BA) argument
1425 buildPhis(BlockRefsMap &PhiM, RegisterSet &AllRefs, NodeAddr<BlockNode*> BA) argument
1559 NodeAddr<BlockNode*> BA = PA.Addr->getOwner(*this); local
1645 linkBlockRefs(DefStackMap &DefM, NodeAddr<BlockNode*> BA) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-bcanalyzer/
H A Dllvm-bcanalyzer.cpp96 BitcodeAnalyzer BA(MB->getBuffer(),
105 ExitOnErr(BA.analyze(
112 BA.printStats(O, StringRef(InputFilename.getValue()));
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h786 static bool IsRef(const NodeAddr<NodeBase*> BA) { argument
787 return BA.Addr->getType() == NodeAttrs::Ref &&
788 BA.Addr->getKind() == Kind;
792 static bool IsCode(const NodeAddr<NodeBase*> BA) { argument
793 return BA.Addr->getType() == NodeAttrs::Code &&
794 BA.Addr->getKind() == Kind;
797 static bool IsDef(const NodeAddr<NodeBase*> BA) { argument
798 return BA.Addr->getType() == NodeAttrs::Ref &&
799 BA.Addr->getKind() == NodeAttrs::Def;
802 static bool IsUse(const NodeAddr<NodeBase*> BA) { argument
807 IsPhi(const NodeAddr<NodeBase*> BA) argument
[all...]
H A DMachineOperand.h193 const BlockAddress *BA; // For MO_BlockAddress. member in union:llvm::MachineOperand::ContentsUnion::__anon1463::__anon1464
568 return Contents.OffsetedInfo.Val.BA;
854 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
857 Op.Contents.OffsetedInfo.Val.BA = BA;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp54 const SCEV *BA = SE.getMinusSCEV(BS, AS); local
59 if (ASizeInt.ule(SE.getUnsignedRange(BA).getUnsignedMin()) &&
60 (-BSizeInt).uge(SE.getUnsignedRange(BA).getUnsignedMax()))
H A DLoads.cpp41 if (MaybeAlign BA = getBaseAlign(Base, DL)) {
42 const APInt APBaseAlign(Offset.getBitWidth(), BA->value());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp136 BlockAddress *BA = BlockAddress::lookup(&BB);
137 if (!BA || !BA->isConstantUsed())
139 addAllGlobalValueUsers(GVtoClusterMap, F, BA);
H A DValueMapper.cpp181 Value *mapBlockAddress(const BlockAddress &BA);
416 if (BlockAddress *BA = dyn_cast<BlockAddress>(C))
417 return mapBlockAddress(*BA);
491 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { argument
492 Function *F = cast<Function>(mapValue(BA.getFunction()));
499 DelayedBBs.push_back(DelayedBasicBlock(BA));
502 BB = cast_or_null<BasicBlock>(mapValue(BA.getBasicBlock()));
505 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAsmPrinter.cpp94 MCSymbol *BA = GetBlockAddressSymbol(MO.getBlockAddress()); local
95 O << BA->getName();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp75 BlockAddress *BA = cast<BlockAddress>(user_back()); local
76 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement,
77 BA->getType()));
78 BA->destroyConstant();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiAsmPrinter.cpp86 MCSymbol *BA = GetBlockAddressSymbol(MO.getBlockAddress()); local
87 O << BA->getName();
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp952 BackendAction BA = static_cast<BackendAction>(Act); local
955 OS = GetOutputStream(CI, InFile, BA);
957 if (BA != Backend_EmitNothing && !OS)
995 BA, CI.getDiagnostics(), CI.getHeaderSearchOpts(),
1107 BackendAction BA = static_cast<BackendAction>(Act); local
1112 GetOutputStream(CI, getCurrentFile(), BA);
1113 if (BA != Backend_EmitNothing && !OS)
1144 BackendConsumer Result(BA, CI.getDiagnostics(), CI.getHeaderSearchOpts(),
1170 CI.getTarget().getDataLayout(), TheModule.get(), BA,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.cpp143 static bool isUncondBranchOpcode(int Opc) { return Opc == SP::BA; }
255 BuildMI(&MBB, DL, get(SP::BA)).addMBB(TBB);
269 BuildMI(&MBB, DL, get(SP::BA)).addMBB(FBB);
285 if (I->getOpcode() != SP::BA
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLazyCallGraph.h1089 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) {
1092 if (Visited.count(BA->getFunction()))
1097 if (llvm::all_of(BA->users(), [&](User *U) {
1099 return I->getFunction() == BA->getFunction();
1105 Visited.insert(BA->getFunction());
1106 Worklist.push_back(BA->getFunction());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp727 } else if (const BlockAddressSDNode *BA =
729 int64_t offset = BA->getOffset();
731 BA->getBlockAddress()->getFunction()->printAsOperand(OS, false);
733 BA->getBlockAddress()->getBasicBlock()->printAsOperand(OS, false);
739 if (unsigned int TF = BA->getTargetFlags())
/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp67 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) {
68 Function *F = BA->getFunction();

Completed in 308 milliseconds

123