| /src/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantPoolValue.cpp | 105 const BlockAddress *CSKYConstantPoolConstant::getBlockAddress() const { in getBlockAddress() 106 assert(isa<BlockAddress>(CVal) && "CVal should be BlockAddress"); in getBlockAddress() 107 return cast<BlockAddress>(CVal); in getBlockAddress()
|
| H A D | CSKYConstantPoolValue.h | 24 class BlockAddress; variable 124 const BlockAddress *getBlockAddress() const;
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 890 class BlockAddress final : public Constant { 893 BlockAddress(Function *F, BasicBlock *BB); 904 static BlockAddress *get(Function *F, BasicBlock *BB); 908 static BlockAddress *get(BasicBlock *BB); 913 static BlockAddress *lookup(const BasicBlock *BB); 928 struct OperandTraits<BlockAddress> 929 : public FixedNumOperandTraits<BlockAddress, 2> {}; 931 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
|
| H A D | Value.def | 80 HANDLE_CONSTANT(BlockAddress)
|
| /src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 24 class BlockAddress; variable 200 const BlockAddress *BA; // For MO_BlockAddress. 587 const BlockAddress *getBlockAddress() const { in getBlockAddress() 786 void ChangeToBA(const BlockAddress *BA, int64_t Offset, 912 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
|
| H A D | AsmPrinter.h | 38 class BlockAddress; variable 581 virtual const MCExpr *lowerBlockAddressConstant(const BlockAddress &BA); 639 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
|
| /src/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
| H A D | XtensaConstantPoolValue.cpp | 85 const BlockAddress *XtensaConstantPoolConstant::getBlockAddress() const { in getBlockAddress() 86 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
|
| H A D | XtensaConstantPoolValue.h | 25 class BlockAddress; variable 135 const BlockAddress *getBlockAddress() const;
|
| H A D | XtensaAsmPrinter.cpp | 68 const BlockAddress *BA = in emitMachineConstantPoolValue()
|
| H A D | XtensaISelLowering.cpp | 81 setOperationAction(ISD::BlockAddress, PtrVT, Custom); in XtensaTargetLowering() 608 const BlockAddress *BA = Node->getBlockAddress(); in LowerBlockAddress() 725 case ISD::BlockAddress: in LowerOperation()
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 545 delete static_cast<BlockAddress *>(C); in deleteConstant() 646 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in getRelocationInfo() 662 if (isa<BlockAddress>(LHSOp0) && isa<BlockAddress>(RHSOp0) && in getRelocationInfo() 663 cast<BlockAddress>(LHSOp0)->getFunction() == in getRelocationInfo() 664 cast<BlockAddress>(RHSOp0)->getFunction()) in getRelocationInfo() 1866 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get() 1871 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get() 1872 BlockAddress *&BA = in get() 1875 BA = new BlockAddress(F, BB); in get() 1881 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress [all …]
|
| H A D | ConstantFold.cpp | 1034 if (isa<BlockAddress>(V)) in evaluateICmpRelation() 1045 if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation() 1047 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation() 1061 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IndirectBrExpandPass.cpp | 142 return isa<BlockAddress>(U.getUser()); in runImpl() 153 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); in runImpl()
|
| /src/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMConstantPoolValue.h | 26 class BlockAddress; variable 175 const BlockAddress *getBlockAddress() const;
|
| H A D | ARMConstantPoolValue.cpp | 187 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress() 188 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SplitModule.cpp | 152 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
|
| H A D | ValueMapper.cpp | 62 DelayedBasicBlock(const BlockAddress &Old) in DelayedBasicBlock() 181 Value *mapBlockAddress(const BlockAddress &BA); 441 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) in mapValue() 591 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { in mapBlockAddress() 605 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock()); in mapBlockAddress()
|
| H A D | Evaluator.cpp | 67 if (C->getNumOperands() == 0 || isa<BlockAddress>(C)) in isSimpleEnoughValueToCommitHelper() 581 if (BlockAddress *BA = dyn_cast<BlockAddress>(Val)) in EvaluateBlock()
|
| H A D | CloneFunction.cpp | 210 Constant *OldBBAddr = BlockAddress::get(const_cast<Function *>(OldFunc), in CloneFunctionInto() 212 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto() 487 Constant *OldBBAddr = BlockAddress::get(const_cast<Function *>(OldFunc), in CloneBlock() 489 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
|
| H A D | FunctionComparator.cpp | 465 const BlockAddress *LBA = cast<BlockAddress>(L); in cmpConstants() 466 const BlockAddress *RBA = cast<BlockAddress>(R); in cmpConstants()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | WinCFGuard.cpp | 52 if (isa<BlockAddress>(FnUser)) in isPossibleIndirectCallTarget()
|
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 407 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 413 Check(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 417 Check(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 422 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
|
| /src/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | ExtractFunction.cpp | 67 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
|
| /src/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
| H A D | DifferenceEngine.cpp | 577 if (isa<BlockAddress>(L)) in equivalentAsOperands() 578 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands() 579 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 1666 if (isa<BlockAddress>(U)) in ChangeCalleesToFastCall() 1683 if (isa<BlockAddress>(U)) in RemoveAttribute() 1709 if (isa<BlockAddress>(U)) in hasChangeableCCImpl() 1759 if (isa<BlockAddress>(U)) in isValidCandidateForColdCC() 1775 if (isa<BlockAddress>(U)) in changeCallSitesToColdCC() 1821 assert(isa<BlockAddress>(U) && in hasMustTailCallers()
|