Home
last modified time | relevance | path

Searched refs:BlockAddress (Results 1 – 25 of 63) sorted by relevance

123

/trueos/contrib/llvm/lib/Transforms/Utils/
HDValueMapper.cpp118 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { in MapValue()
123 return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock()); in MapValue()
HDCloneFunction.cpp133 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneFunctionInto()
135 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto()
252 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneBlock()
254 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
HDLocal.cpp226 if (BlockAddress *BA = in ConstantFoldTerminator()
227 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator()
493 BlockAddress *BA = BlockAddress::get(DestBB); in MergeBasicBlockIntoOnlyPred()
/trueos/contrib/llvm/include/llvm/CodeGen/
HDMachineOperand.h22 class BlockAddress; variable
173 const BlockAddress *BA; // For MO_BlockAddress.
433 const BlockAddress *getBlockAddress() const { in getBlockAddress()
636 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
HDAsmPrinter.h25 class BlockAddress; variable
331 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
HDISDOpcodes.h63 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator
HDSelectionDAGNodes.h1563 const BlockAddress *BA;
1567 BlockAddressSDNode(unsigned NodeTy, EVT VT, const BlockAddress *ba,
1573 const BlockAddress *getBlockAddress() const { return BA; }
1578 return N->getOpcode() == ISD::BlockAddress ||
/trueos/contrib/llvm/include/llvm/IR/
HDBasicBlock.h29 class BlockAddress; variable
74 friend class BlockAddress;
HDConstants.h748 class BlockAddress : public Constant {
751 BlockAddress(Function *F, BasicBlock *BB);
754 static BlockAddress *get(Function *F, BasicBlock *BB);
758 static BlockAddress *get(BasicBlock *BB);
776 struct OperandTraits<BlockAddress> :
777 public FixedNumOperandTraits<BlockAddress, 2> {
780 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
/trueos/contrib/llvm/lib/Target/ARM/
HDARMConstantPoolValue.h24 class BlockAddress; variable
165 const BlockAddress *getBlockAddress() const;
HDARMConstantPoolValue.cpp160 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress()
161 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
/trueos/contrib/llvm/lib/IR/
HDConstants.cpp344 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in getRelocationInfo()
358 isa<BlockAddress>(LHS->getOperand(0)) && in getRelocationInfo()
359 isa<BlockAddress>(RHS->getOperand(0)) && in getRelocationInfo()
360 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == in getRelocationInfo()
361 cast<BlockAddress>(RHS->getOperand(0))->getFunction()) in getRelocationInfo()
1353 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get()
1358 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get()
1359 BlockAddress *&BA = in get()
1362 BA = new BlockAddress(F, BB); in get()
1368 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress
[all …]
HDBasicBlock.cpp73 BlockAddress *BA = cast<BlockAddress>(use_back()); in ~BasicBlock()
HDConstantFold.cpp1344 !isa<BlockAddress>(V1)) { in evaluateICmpRelation()
1346 !isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1390 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1399 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation()
1411 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
HDFunction.cpp701 if (isa<BlockAddress>(U)) in hasAddressTaken()
720 if (!isa<BlockAddress>(*I)) in isDefTriviallyDead()
HDLLVMContextImpl.h282 DenseMap<std::pair<Function*, BasicBlock*> , BlockAddress*> BlockAddresses;
/trueos/contrib/llvm/lib/Analysis/
HDLint.cpp395 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
401 Assert1(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
405 Assert1(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
410 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
/trueos/contrib/llvm/tools/llvm-diff/
HDDifferenceEngine.cpp389 if (isa<BlockAddress>(L)) in equivalentAsOperands()
390 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands()
391 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
/trueos/contrib/llvm/tools/bugpoint/
HDExtractFunction.cpp68 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
/trueos/contrib/llvm/lib/Transforms/IPO/
HDIPConstantPropagation.cpp92 if (isa<BlockAddress>(U)) continue; in PropagateConstantsIntoArguments()
/trueos/contrib/llvm/lib/Transforms/Scalar/
HDJumpThreading.cpp314 return dyn_cast<BlockAddress>(Val->stripPointerCasts()); in getKnownConstant()
633 BlockAddress *BA = BlockAddress::get(BB); in hasAddressTakenAndUsed()
1127 DestBB = cast<BlockAddress>(Val)->getBasicBlock(); in ProcessThreadableEdges()
/trueos/sys/contrib/dev/acpica/include/
HDactbl3.h341 UINT64 BlockAddress; member
/trueos/contrib/llvm/lib/Transforms/Instrumentation/
HDDataFlowSanitizer.cpp594 BlockAddress *BA = dyn_cast<BlockAddress>(ui.getUse().getUser()); in runOnModule()
598 BlockAddress::get(NewF, BA->getBasicBlock())); in runOnModule()
884 if (isa<Function>(*i) || isa<BlockAddress>(*i)) in loadShadow()
/trueos/contrib/llvm/patches/
HDpatch-r262261-llvm-r198480-sparc.diff138 case ISD::BlockAddress: return LowerBlockAddress(Op, DAG);
/trueos/contrib/llvm/lib/Target/Hexagon/
HDHexagonISelLowering.cpp762 BlockAddress::get(const_cast<BasicBlock *>(MBB->getBasicBlock())); in LowerBR_JT()
1044 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress(); in LowerBlockAddress()
1323 setOperationAction(ISD::BlockAddress, MVT::i32, Custom); in HexagonTargetLowering()
1573 case ISD::BlockAddress: return LowerBlockAddress(Op, DAG); in LowerOperation()

123