/llvm-project/libcxx/benchmarks/libcxxabi/ |
H A D | dynamic_cast.bench.cpp |
|
/llvm-project/bolt/test/X86/ |
H A D | cdsplit-symbol-names.s | 15 # CHECK-SYMS-WARM-SAME: chain.warm 20 .globl chain symbol 21 .type chain, @function 22 chain: label 28 # FDATA: 1 chain #LLentry_LLchain_start# 1 chain #LLchain_start# 0 100 29 # FDATA: 1 chain #LLentry_LLchain_start# 1 chain #LLfast# 0 500 34 # FDATA: 1 chain #LLfast_LLexit# 1 chain #LLexit# 0 500 39 # FDATA: 1 chain #LLchain_start_LLchain1# 1 chain #LLchain1# 0 99 40 # FDATA: 1 chain #LLchain_start_LLchain1# 1 chain #LLloop_entry# 0 1 50 # FDATA: 1 chain #LLloop_entry_LLloop_start# 1 chain #LLloop_start# 0 1 [all …]
|
H A D | cdsplit-call-scale.s | 14 # RUN: --call-scale=0.0 --print-split --print-only=chain \ 18 # RUN: --call-scale=1.0 --print-split --print-only=chain \ 22 # RUN: --call-scale=1000.0 --print-split --print-only=chain \ 26 # LOWINCENTIVE: Binary Function "chain" after split-functions 31 # MEDINCENTIVE: Binary Function "chain" after split-functions 42 # HIGHINCENTIVE: Binary Function "chain" after split-functions 56 .globl chain symbol 57 .type chain, @function 58 chain: label 64 # FDATA: 1 chain #LLentry_LLchain_start# 1 chain #LLchain_start# 0 10 [all …]
|
H A D | register-fragments-bolt-symbols.s | 4 # RUN: llvm-mc --filetype=obj --triple x86_64-unknown-unknown %s -o %t.chain.o 13 # PREAGGWARM: B X:0 #chain.warm# 1 0 19 # CHECK-BOLT-WARM: marking chain.warm/1(*2) as a fragment of chain 20 # CHECK-FDATA-WARM: chain 21 # CHECK-YAML-WARM: chain 23 # RUN: sed -i 's|chain|chain/2|g' %t.fdata 24 # RUN: llvm-objcopy --localize-symbol=chain %t.main.o 25 # RUN: %clang %cflags %t.chain.o %t.main.o -o %t.exe -Wl,-q 31 # PREAGG: B X:0 #chain.cold.0# 1 0 38 # PREAGG2: B X:0 #chain# 1 0 [all …]
|
H A D | calculate-emitted-block-size.s | 10 # RUN: --print-split --print-only=chain --print-output-address-range \ 18 # RUN: --print-only=chain --print-output-address-range \ 49 .globl chain symbol 50 .type chain, @function 51 chain: label 57 # FDATA: 1 chain #LLentry_LLchain_start# 1 chain #LLchain_start# 0 10 58 # FDATA: 1 chain #LLentry_LLchain_start# 1 chain #LLfast# 0 500 63 # FDATA: 1 chain #LLfast_LLexit# 1 chain #LLexit# 0 500 68 # FDATA: 1 chain #LLchain_start_LLchain1# 1 chain #LLchain1# 0 10 69 # FDATA: 1 chain #LLchain_start_LLchain1# 1 chain #LLcold# 0 0 [all …]
|
H A D | split-all.s | 6 # RUN: --print-split --print-only=chain \ 9 # CHECK: Binary Function "chain" 27 # CHECK: End of Function "chain" 30 .globl chain symbol 31 .type chain, @function 32 chain: label 68 .size chain, .Lchain_end-chain 77 call chain 79 call chain
|
/llvm-project/llvm/test/Verifier/AMDGPU/ |
H A D | intrinsic-amdgpu-cs-chain.ll | 3 declare void @llvm.amdgcn.cs.chain(ptr, i32, <4 x i32>, { ptr, <3 x i32> }, i32, ...) noreturn 4 declare i32 @llvm.amdgcn.set.inactive.chain.arg(i32, i32) convergent willreturn nofree nocallback r… 9 ; CHECK-NEXT: @llvm.amdgcn.cs.chain 10 …call void(ptr, i32, <4 x i32>, { ptr, <3 x i32> }, i32, ...) @llvm.amdgcn.cs.chain(ptr %fn, i32 %e… 16 ; CHECK-NEXT: @llvm.amdgcn.cs.chain 17 …call void(ptr, i32, <4 x i32>, { ptr, <3 x i32> }, i32, ...) @llvm.amdgcn.cs.chain(ptr %fn, i32 %e… 23 ; CHECK-NEXT: @llvm.amdgcn.cs.chain 24 …call void(ptr, i32, <4 x i32>, { ptr, <3 x i32> }, i32, ...) @llvm.amdgcn.cs.chain(ptr %fn, i32 %e… 30 ; CHECK-NEXT: @llvm.amdgcn.cs.chain 31 …call void(ptr, <4 x i32>, <4 x i32>, { ptr, <3 x i32> }, i32, ...) @llvm.amdgcn.cs.chain(ptr %fn, … [all …]
|
/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 35 SDValue Chain, SDValue Dst, SDValue Src, in createMemMemNode() 41 Ops = { Chain, Dst, LenAdj, Byte }; in emitMemMemImm() 43 Ops = { Chain, Dst, Src, LenAdj }; in emitMemMemImm() 52 SDValue Chain, SDValue Dst, SDValue Src, in emitMemMemReg() 57 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemReg() 61 SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument 67 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in EmitTargetCodeForMemcpy() 71 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() 78 return emitMemMemImm(DAG, DL, SystemZISD::MVC, Chain, Dst, Src, in memsetStore() 81 return emitMemMemReg(DAG, DL, SystemZISD::MVC, Chain, Ds in memsetStore() 25 createMemMemNode(SelectionDAG & DAG,const SDLoc & DL,unsigned Op,SDValue Chain,SDValue Dst,SDValue Src,SDValue LenAdj,SDValue Byte) createMemMemNode() argument 42 emitMemMemImm(SelectionDAG & DAG,const SDLoc & DL,unsigned Op,SDValue Chain,SDValue Dst,SDValue Src,uint64_t Size,SDValue Byte=SDValue ()) emitMemMemImm() argument 51 emitMemMemReg(SelectionDAG & DAG,const SDLoc & DL,unsigned Op,SDValue Chain,SDValue Dst,SDValue Src,SDValue Size,SDValue Byte=SDValue ()) emitMemMemReg() argument 77 memsetStore(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Dst,uint64_t ByteVal,uint64_t Size,Align Alignment,MachinePointerInfo DstPtrInfo) memsetStore() argument 89 EmitTargetCodeForMemset(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Dst,SDValue Byte,SDValue Size,Align Alignment,bool IsVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo) const EmitTargetCodeForMemset() argument 173 EmitTargetCodeForMemcmp(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Src1,SDValue Src2,SDValue Size,MachinePointerInfo Op1PtrInfo,MachinePointerInfo Op2PtrInfo) const EmitTargetCodeForMemcmp() argument 189 EmitTargetCodeForMemchr(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Src,SDValue Char,SDValue Length,MachinePointerInfo SrcPtrInfo) const EmitTargetCodeForMemchr() argument 215 EmitTargetCodeForStrcpy(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Dest,SDValue Src,MachinePointerInfo DestPtrInfo,MachinePointerInfo SrcPtrInfo,bool isStpcpy) const EmitTargetCodeForStrcpy() argument 225 EmitTargetCodeForStrcmp(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Src1,SDValue Src2,MachinePointerInfo Op1PtrInfo,MachinePointerInfo Op2PtrInfo) const EmitTargetCodeForStrcmp() argument 244 getBoundedStrlen(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Src,SDValue Limit) getBoundedStrlen() argument 256 EmitTargetCodeForStrlen(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Src,MachinePointerInfo SrcPtrInfo) const EmitTargetCodeForStrlen() argument 263 EmitTargetCodeForStrnlen(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Src,SDValue MaxLength,MachinePointerInfo SrcPtrInfo) const EmitTargetCodeForStrnlen() argument [all...] |
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64A57FPLoadBalancing.cpp | 106 class Chain; 137 bool colorChainSet(std::vector<Chain*> GV, MachineBasicBlock &MBB, 139 bool colorChain(Chain *G, Color C, MachineBasicBlock &MBB); 140 int scavengeRegister(Chain *G, Color C, MachineBasicBlock &MBB); 142 std::map<unsigned, Chain*> &Active, 143 std::vector<std::unique_ptr<Chain>> &AllChains); 145 std::map<unsigned, Chain*> &RegChains); 147 Chain *getAndEraseNext(Color PreferredColor, std::vector<Chain*> &L); 159 /// A Chain is a sequence of instructions that are linked together by 167 /// do not belong to the chain. These other instructions must not use [all …]
|
H A D | AArch64SelectionDAGInfo.cpp | 37 const SDLoc &DL, SDValue Chain, in EmitMOPS() 64 SDValue Ops[] = {Dst, Size, SrcOrValue, Chain}; in EmitMOPS() 70 SDValue Ops[] = {Dst, SrcOrValue, Size, Chain}; in EmitMOPS() 83 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitMOPS() 135 CLI.setDebugLoc(DL).setChain(Chain).setLibCallee( in EmitStreamingCompatibleMemLibCall() 141 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitStreamingCompatibleMemLibCall() 148 return EmitMOPS(AArch64::MOPSMemoryCopyPseudo, DAG, DL, Chain, Dst, Src, in EmitTargetCodeForMemcpy() 153 return EmitStreamingCompatibleMemLibCall(DAG, DL, Chain, Dst, Src, Size, in EmitTargetCodeForMemcpy() 159 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() 166 return EmitMOPS(AArch64::MOPSMemorySetPseudo, DAG, dl, Chain, Ds in EmitTargetCodeForMemset() 26 EmitMOPS(AArch64ISD::NodeType SDOpcode,SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Dst,SDValue SrcOrValue,SDValue Size,Align Alignment,bool isVolatile,MachinePointerInfo DstPtrInfo,MachinePointerInfo SrcPtrInfo) const EmitMOPS() argument 86 EmitStreamingCompatibleMemLibCall(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Dst,SDValue Src,SDValue Size,RTLIB::Libcall LC) const EmitStreamingCompatibleMemLibCall() argument 144 EmitTargetCodeForMemcpy(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Dst,SDValue Src,SDValue Size,Align Alignment,bool isVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo,MachinePointerInfo SrcPtrInfo) const EmitTargetCodeForMemcpy() argument 162 EmitTargetCodeForMemset(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Dst,SDValue Src,SDValue Size,Align Alignment,bool isVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo) const EmitTargetCodeForMemset() argument 180 EmitTargetCodeForMemmove(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Dst,SDValue Src,SDValue Size,Align Alignment,bool isVolatile,MachinePointerInfo DstPtrInfo,MachinePointerInfo SrcPtrInfo) const EmitTargetCodeForMemmove() argument 200 EmitUnrolledSetTag(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Ptr,uint64_t ObjSize,const MachineMemOperand * BaseMemOperand,bool ZeroData) EmitUnrolledSetTag() argument 252 EmitTargetCodeForSetTag(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Addr,SDValue Size,MachinePointerInfo DstPtrInfo,bool ZeroData) const EmitTargetCodeForSetTag() argument [all...] |
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/ |
H A D | no-recursion.cpp | 22 …E-4]]:6: warning: function 'endless_recursion' is within a recursive call chain [misc-no-recursion] 23 // CHECK-NOTES: :[[@LINE-5]]:6: note: example recursive call chain, starting from function 'endless… 25 // CHECK-NOTES: :[[@LINE-6]]:3: note: ... which was the starting point of the recursive call chain;… 36 …6: warning: function 'maybe_endless_recursion' is within a recursive call chain [misc-no-recursion] 37 // CHECK-NOTES: :[[@LINE-6]]:6: note: example recursive call chain, starting from function 'maybe_e… 39 // CHECK-NOTES: :[[@LINE-6]]:5: note: ... which was the starting point of the recursive call chain;… 48 …6]]:6: warning: function 'recursive_countdown' is within a recursive call chain [misc-no-recursion] 49 // CHECK-NOTES: :[[@LINE-7]]:6: note: example recursive call chain, starting from function 'recursi… 51 // CHECK-NOTES: :[[@LINE-6]]:3: note: ... which was the starting point of the recursive call chain;… 63 …:6: warning: function 'conditionally_executed' is within a recursive call chain [misc-no-recursion] [all …]
|
/llvm-project/llvm/test/tools/yaml2obj/ELF/ |
H A D | hash-section.yaml | 46 ## Check we can describe a SHT_HASH section using "Bucket" and "Chain" tags. 49 # RUN: llvm-readobj --sections --section-data %t2 | FileCheck %s --check-prefix=BUCKET-CHAIN 51 # BUCKET-CHAIN: Name: .hash 52 # BUCKET-CHAIN: Size: 53 # BUCKET-CHAIN-SAME: 28 54 # BUCKET-CHAIN: Link: 55 # BUCKET-CHAIN-SAME: 0 56 # BUCKET-CHAIN: SectionData ( 57 # BUCKET-CHAIN-NEXT: 0000: 02000000 03000000 01000000 02000000 | 58 # BUCKET-CHAIN-NEXT: 0010: 03000000 04000000 05000000 | [all …]
|
/llvm-project/llvm/lib/Target/X86/ |
H A D | X86SelectionDAGInfo.cpp | 75 const SDLoc &dl, SDValue Chain, SDValue Dst, in EmitTargetCodeForMemset() 98 Chain = DAG.getCopyToReg(Chain, dl, AX, Val, InGlue); in EmitTargetCodeForMemset() 99 InGlue = Chain.getValue(1); in EmitTargetCodeForMemset() 100 Chain = DAG.getCopyToReg(Chain, dl, CX, Size, InGlue); in EmitTargetCodeForMemset() 101 InGlue = Chain.getValue(1); in EmitTargetCodeForMemset() 102 Chain = DAG.getCopyToReg(Chain, dl, DI, Dst, InGlue); in EmitTargetCodeForMemset() 103 InGlue = Chain in EmitTargetCodeForMemset() 48 EmitTargetCodeForMemset(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Dst,SDValue Val,SDValue Size,Align Alignment,bool isVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo) const EmitTargetCodeForMemset() argument 157 emitRepmovs(const X86Subtarget & Subtarget,SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Dst,SDValue Src,SDValue Size,MVT AVT) emitRepmovs() argument 179 emitRepmovsB(const X86Subtarget & Subtarget,SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Dst,SDValue Src,uint64_t Size) emitRepmovsB() argument 209 emitConstantSizeRepmov(SelectionDAG & DAG,const X86Subtarget & Subtarget,const SDLoc & dl,SDValue Chain,SDValue Dst,SDValue Src,uint64_t Size,EVT SizeVT,Align Alignment,bool isVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo,MachinePointerInfo SrcPtrInfo) emitConstantSizeRepmov() argument 264 EmitTargetCodeForMemcpy(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Dst,SDValue Src,SDValue Size,Align Alignment,bool isVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo,MachinePointerInfo SrcPtrInfo) const EmitTargetCodeForMemcpy() argument [all...] |
/llvm-project/flang/runtime/ |
H A D | unit-map.cpp | 42 Chain *previous{nullptr}; in LookUpForClose() 44 for (Chain *p{bucket_[hash].get()}; p; previous = p, p = p->next.get()) { in LookUpForClose() 60 Chain *p{nullptr}; in DestroyClosed() 63 Chain *previous{nullptr}; in DestroyClosed() 88 OwningPtr<Chain> closeList; in CloseAll() 92 while (Chain * p{bucket_[j].get()}) { in CloseAll() 98 while (Chain * p{closeList.get()}) { in CloseAll() 109 for (Chain *p{bucket_[j].get()}; p; p = p->next.get()) { in FlushAll() 119 for (Chain *p{bucket_[j].get()}; p; p = p->next.get()) { in Find() 131 Chain &chain{*New<Chain>{terminator}(n).release()}; in Create() local [all …]
|
/llvm-project/llvm/test/tools/obj2yaml/ELF/ |
H A D | hash-section.yaml | 3 ## Check that obj2yaml uses "Bucket" and "Chain" tags to describe 8 # RUN: obj2yaml %t1 | FileCheck %s --check-prefix=CHAIN-BUCKET 10 # CHAIN-BUCKET: - Name: .hash1 11 # CHAIN-BUCKET-NEXT: Type: SHT_HASH 12 # CHAIN-BUCKET-NEXT: Bucket: [ 3 ] 13 # CHAIN-BUCKET-NEXT: Chain: [ 4, 5 ] 14 # CHAIN-BUCKET: - Name: .hash2 15 # CHAIN-BUCKET-NEXT: Type: SHT_HASH 16 # CHAIN-BUCKET-NEXT: Bucket: [ ] 17 # CHAIN-BUCKET-NEXT: Chain: [ ] [all …]
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineBlockPlacement.cpp | 22 // first time it reaches a chain of basic blocks, it schedules them in the 114 // - Outlining: placement of a basic block outside the chain or hot path. 118 cl::desc("Outline loop blocks from loop chain if (frequency of loop) / " 198 "triangle-chain-count", 246 /// Type for our function-wide basic block -> block chain mapping. 249 /// A chain of blocks which will be laid out contiguously. 251 /// This is the datastructure representing a chain of consecutive blocks that 253 /// probabilities and code locality. We also can use a block chain to represent 258 /// them. They participate in a block-to-chain mapping, which is updated 261 /// The sequence of blocks belonging to this chain 305 merge(MachineBasicBlock * BB,BlockChain * Chain) merge() argument 659 markChainSuccessors(const BlockChain & Chain,const MachineBasicBlock * LoopHeaderBB,const BlockFilterSet * BlockFilter) markChainSuccessors() argument 675 markBlockSuccessors(const BlockChain & Chain,const MachineBasicBlock * MBB,const MachineBasicBlock * LoopHeaderBB,const BlockFilterSet * BlockFilter) markBlockSuccessors() argument 708 collectViableSuccessors(const MachineBasicBlock * BB,const BlockChain & Chain,const BlockFilterSet * BlockFilter,SmallVector<MachineBasicBlock *,4> & Successors) collectViableSuccessors() argument 817 isProfitableToTailDup(const MachineBasicBlock * BB,const MachineBasicBlock * Succ,BranchProbability QProb,const BlockChain & Chain,const BlockFilterSet * BlockFilter) isProfitableToTailDup() argument 971 isTrellis(const MachineBasicBlock * BB,const SmallVectorImpl<MachineBasicBlock * > & ViableSuccs,const BlockChain & Chain,const BlockFilterSet * BlockFilter) isTrellis() argument 1066 getBestTrellisSuccessor(const MachineBasicBlock * BB,const SmallVectorImpl<MachineBasicBlock * > & ViableSuccs,BranchProbability AdjustedSumProb,const BlockChain & Chain,const BlockFilterSet * BlockFilter) getBestTrellisSuccessor() argument 1150 canTailDuplicateUnplacedPreds(const MachineBasicBlock * BB,MachineBasicBlock * Succ,const BlockChain & Chain,const BlockFilterSet * BlockFilter) canTailDuplicateUnplacedPreds() argument 1344 TriangleChain Chain = std::move(Found->second); precomputeTriangleChains() local 1359 TriangleChain &Chain = ChainPair.second; precomputeTriangleChains() local 1418 hasBetterLayoutPredecessor(const MachineBasicBlock * BB,const MachineBasicBlock * Succ,const BlockChain & SuccChain,BranchProbability SuccProb,BranchProbability RealSuccProb,const BlockChain & Chain,const BlockFilterSet * BlockFilter) hasBetterLayoutPredecessor() argument 1597 selectBestSuccessor(const MachineBasicBlock * BB,const BlockChain & Chain,const BlockFilterSet * BlockFilter) selectBestSuccessor() argument 1709 selectBestCandidateBlock(const BlockChain & Chain,SmallVectorImpl<MachineBasicBlock * > & WorkList) selectBestCandidateBlock() argument 1822 BlockChain &Chain = *BlockToChain[MBB]; fillWorkLists() local 1852 buildChain(const MachineBasicBlock * HeadBB,BlockChain & Chain,BlockFilterSet * BlockFilter) buildChain() argument 2238 BlockChain &Chain = *BlockToChain[MBB]; findBestLoopExit() local 2623 BlockChain *Chain = BlockToChain[LoopBB]; collectLoopBlockSet() local 2739 BlockChain *Chain = buildCFGChains() local 3056 repeatedlyTailDuplicateBlock(MachineBasicBlock * BB,MachineBasicBlock * & LPred,const MachineBasicBlock * LoopHeaderBB,BlockChain & Chain,BlockFilterSet * BlockFilter,MachineFunction::iterator & PrevUnplacedBlockIt,BlockFilterSet::iterator & PrevUnplacedBlockInFilterIt) repeatedlyTailDuplicateBlock() argument 3113 maybeTailDuplicateBlock(MachineBasicBlock * BB,MachineBasicBlock * LPred,BlockChain & Chain,BlockFilterSet * BlockFilter,MachineFunction::iterator & PrevUnplacedBlockIt,BlockFilterSet::iterator & PrevUnplacedBlockInFilterIt,bool & DuplicatedToLPred) maybeTailDuplicateBlock() argument 3136 BlockChain *Chain = BlockToChain[RemBB]; maybeTailDuplicateBlock() local [all...] |
/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 48 // - For each equivalence class, greedily build "chains". Each chain has a 49 // leader instruction, and every other member of the chain has a known 50 // constant offset from the first instr in the chain. 53 // - Convert each chain to vector instructions. 146 // A Chain is a set of instructions such that: 149 // - We know the address accessed by the i'th chain elem relative to the 150 // chain's leader instruction, which is the first instr of the chain in BB 163 using Chain = SmallVector<ChainElem, 1>; in sortChainInBBOrder() 165 void sortChainInBBOrder(Chain in sortChainInBBOrder() 161 using Chain = SmallVector<ChainElem, 1>; global() typedef 638 __anon2341bc250602(const auto &Chain) splitChainByContiguity() argument [all...] |
/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaISelLowering.cpp | 310 SDValue Chain, CallingConv::ID CallConv, bool IsVarArg, in LowerCall() 339 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, Reg, RegVT); in LowerCall() 378 ValVT, DL, Chain, FIN, in LowerCall() 424 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, Reg, RegTy); in LowerCall() 427 SDValue Store = DAG.getStore(Chain, DL, ArgValue, PtrOff, in LowerCall() 437 OutChains.push_back(Chain); in LowerCall() 438 Chain = DAG.getNode(ISD::TokenFactor, DL, MVT::Other, OutChains); in LowerCall() 441 return Chain; in LowerCall() 452 SDValue Chain = CLI.Chain; in LowerCall() 197 LowerFormalArguments(SDValue Chain,CallingConv::ID CallConv,bool IsVarArg,const SmallVectorImpl<ISD::InputArg> & Ins,const SDLoc & DL,SelectionDAG & DAG,SmallVectorImpl<SDValue> & InVals) const LowerFormalArguments() argument 294 SDValue Chain = CLI.Chain; LowerCall() local 472 LowerReturn(SDValue Chain,CallingConv::ID CallConv,bool IsVarArg,const SmallVectorImpl<ISD::OutputArg> & Outs,const SmallVectorImpl<SDValue> & OutVals,const SDLoc & DL,SelectionDAG & DAG) const LowerReturn() argument 568 SDValue Chain = Op.getOperand(0); LowerBR_JT() local 641 SDValue Chain = Op.getOperand(0); // Legalize the chain. LowerDYNAMIC_STACKALLOC() local [all...] |
/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCISelLowering.cpp | 35 static SDValue lowerCallResult(SDValue Chain, SDValue InGlue, 238 SDValue Chain = Op.getOperand(0); in LowerBR_CC() local 246 return DAG.getNode(ARCISD::BRcc, dl, MVT::Other, Chain, Dest, LHS, RHS, in LowerBR_CC() 270 SDValue Chain = CLI.Chain; in LowerCall() local 294 Chain = DAG.getCALLSEQ_START(Chain, NumBytes, 0, dl); in LowerCall() 329 StackPtr = DAG.getCopyFromReg(Chain, dl, ARC::SP, in LowerCall() 337 DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo()); in LowerCall() 346 Chain in LowerCall() 408 lowerCallResult(SDValue Chain,SDValue Glue,const SmallVectorImpl<CCValAssign> & RVLocs,SDLoc dl,SelectionDAG & DAG,SmallVectorImpl<SDValue> & InVals) lowerCallResult() argument 470 LowerFormalArguments(SDValue Chain,CallingConv::ID CallConv,bool IsVarArg,const SmallVectorImpl<ISD::InputArg> & Ins,const SDLoc & dl,SelectionDAG & DAG,SmallVectorImpl<SDValue> & InVals) const LowerFormalArguments() argument 485 LowerCallArguments(SDValue Chain,CallingConv::ID CallConv,bool IsVarArg,const SmallVectorImpl<ISD::InputArg> & Ins,SDLoc dl,SelectionDAG & DAG,SmallVectorImpl<SDValue> & InVals) const LowerCallArguments() argument 644 LowerReturn(SDValue Chain,CallingConv::ID CallConv,bool IsVarArg,const SmallVectorImpl<ISD::OutputArg> & Outs,const SmallVectorImpl<SDValue> & OutVals,const SDLoc & dl,SelectionDAG & DAG) const LowerReturn() argument [all...] |
/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUExportClustering.cpp | 39 static void sortChain(const SIInstrInfo *TII, SmallVector<SUnit *, 8> &Chain, in sortChain() argument 41 if (!PosCount || PosCount == Chain.size()) in sortChain() 48 SmallVector<SUnit *, 8> Copy(Chain); in sortChain() 53 Chain[PosIdx++] = SU; in sortChain() 55 Chain[OtherIdx++] = SU; in sortChain() 62 // Now construct cluster from chain by adding new edges. in buildCluster() 67 // Copy all dependencies to the head of the chain to avoid any in buildCluster() 68 // computation being inserted into the chain. in buildCluster() 111 SmallVector<SUnit *, 8> Chain; in apply() local 122 Chain.push_back(&SU); in apply() [all …]
|
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGTargetInfo.h | 65 SDValue Chain, SDValue Op1, 81 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Op1, in EmitTargetCodeForMemset() 95 SDValue Chain, SDValue Op1, in EmitTargetCodeForMemcmp() argument 105 /// memcmp and the second is the chain. Both SDValues can be null if a normal 108 EmitTargetCodeForMemcmp(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, in EmitTargetCodeForMemchr() 117 /// memchr and the second is the chain. Both SDValues can be null if a normal 120 EmitTargetCodeForMemchr(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, in EmitTargetCodeForStrcpy() argument 130 /// for stpcpy) and the second is the chain. Both SDValues can be null 133 EmitTargetCodeForStrcpy(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in EmitTargetCodeForStrcmp() 143 /// the chain in EmitTargetCodeForStrlen() 52 EmitTargetCodeForMemcpy(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Op1,SDValue Op2,SDValue Op3,Align Alignment,bool isVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo,MachinePointerInfo SrcPtrInfo) EmitTargetCodeForMemcpy() argument 68 EmitTargetCodeForMemmove(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Op1,SDValue Op2,SDValue Op3,Align Alignment,bool isVolatile,MachinePointerInfo DstPtrInfo,MachinePointerInfo SrcPtrInfo) EmitTargetCodeForMemmove() argument 82 EmitTargetCodeForMemset(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Op1,SDValue Op2,SDValue Op3,Align Alignment,bool isVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo) EmitTargetCodeForMemset() argument 107 EmitTargetCodeForMemchr(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Src,SDValue Char,SDValue Length,MachinePointerInfo SrcPtrInfo) EmitTargetCodeForMemchr() argument 132 EmitTargetCodeForStrcmp(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Op1,SDValue Op2,MachinePointerInfo Op1PtrInfo,MachinePointerInfo Op2PtrInfo) EmitTargetCodeForStrcmp() argument 140 EmitTargetCodeForStrlen(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Src,MachinePointerInfo SrcPtrInfo) EmitTargetCodeForStrlen() argument 146 EmitTargetCodeForStrnlen(SelectionDAG & DAG,const SDLoc & DL,SDValue Chain,SDValue Src,SDValue MaxLength,MachinePointerInfo SrcPtrInfo) EmitTargetCodeForStrnlen() argument 153 EmitTargetCodeForSetTag(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Addr,SDValue Size,MachinePointerInfo DstPtrInfo,bool ZeroData) EmitTargetCodeForSetTag() argument [all...] |
/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 338 SDValue Chain = Op.getOperand(0); in LowerBR_JT() local 350 return DAG.getNode(XCoreISD::BR_JT, dl, MVT::Other, Chain, TargetJT, Index); in LowerBR_JT() 355 return DAG.getNode(XCoreISD::BR_JT32, dl, MVT::Other, Chain, TargetJT, in LowerBR_JT() 360 const SDLoc &DL, SDValue Chain, SDValue Base, int64_t Offset, in lowerLoadWordFromAlignedBasePlusOffset() argument 364 return DAG.getLoad(PtrVT, DL, Chain, Base, MachinePointerInfo()); in lowerLoadWordFromAlignedBasePlusOffset() 385 SDValue Low = DAG.getLoad(PtrVT, DL, Chain, LowAddr, MachinePointerInfo()); in lowerLoadWordFromAlignedBasePlusOffset() 386 SDValue High = DAG.getLoad(PtrVT, DL, Chain, HighAddr, MachinePointerInfo()); in lowerLoadWordFromAlignedBasePlusOffset() 390 Chain = DAG.getNode(ISD::TokenFactor, DL, MVT::Other, Low.getValue(1), in lowerLoadWordFromAlignedBasePlusOffset() 392 SDValue Ops[] = { Result, Chain }; in lowerLoadWordFromAlignedBasePlusOffset() 414 SDValue Chain in LowerLOAD() local 487 SDValue Chain = ST->getChain(); LowerSTORE() local 814 SDValue Chain = Op.getOperand(0); LowerEH_RETURN() local 853 SDValue Chain = Op.getOperand(0); LowerINIT_TRAMPOLINE() local 947 SDValue Chain = CLI.Chain; LowerCall() local 970 LowerCallResult(SDValue Chain,SDValue InGlue,const SmallVectorImpl<CCValAssign> & RVLocs,const SDLoc & dl,SelectionDAG & DAG,SmallVectorImpl<SDValue> & InVals) LowerCallResult() argument 1017 LowerCCCCallTo(SDValue Chain,SDValue Callee,CallingConv::ID CallConv,bool isVarArg,bool isTailCall,const SmallVectorImpl<ISD::OutputArg> & Outs,const SmallVectorImpl<SDValue> & OutVals,const SmallVectorImpl<ISD::InputArg> & Ins,const SDLoc & dl,SelectionDAG & DAG,SmallVectorImpl<SDValue> & InVals) const LowerCCCCallTo() argument 1149 LowerFormalArguments(SDValue Chain,CallingConv::ID CallConv,bool isVarArg,const SmallVectorImpl<ISD::InputArg> & Ins,const SDLoc & dl,SelectionDAG & DAG,SmallVectorImpl<SDValue> & InVals) const LowerFormalArguments() argument 1168 LowerCCCArguments(SDValue Chain,CallingConv::ID CallConv,bool isVarArg,const SmallVectorImpl<ISD::InputArg> & Ins,const SDLoc & dl,SelectionDAG & DAG,SmallVectorImpl<SDValue> & InVals) const LowerCCCArguments() argument 1340 LowerReturn(SDValue Chain,CallingConv::ID CallConv,bool isVarArg,const SmallVectorImpl<ISD::OutputArg> & Outs,const SmallVectorImpl<SDValue> & OutVals,const SDLoc & dl,SelectionDAG & DAG) const LowerReturn() argument 1693 SDValue Chain = ST->getChain(); PerformDAGCombine() local [all...] |
/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 136 /// OPRC, CHAIN = DYNALLOC(CHAIN, NEGSIZE, FRAME_INDEX) 185 /// CHAIN,FLAG = MTCTR(VAL, CHAIN[, INFLAG]) - Directly corresponds to a 189 /// CHAIN,FLAG = BCTRL(CHAIN, INFLAG) - Directly corresponds to a 193 /// CHAIN,FLAG = BCTRL(CHAIN, ADDR, INFLAG) - The combination of a bctrl 261 // target (returns (Lo, Hi)). It takes a chain operand. 282 /// CHAIN 1196 SDValue Chain; global() member [all...] |
/llvm-project/llvm/test/CodeGen/Hexagon/ |
H A D | rdf-copy.ll | 31 define ptr @foo(ptr %chain) nounwind readonly #0 { 33 %tobool = icmp eq ptr %chain, null 40 %chain.addr.0 = phi ptr [ %0, %while.cond ], [ %chain, %while.cond.preheader ] 41 %0 = load ptr, ptr %chain.addr.0, align 4, !tbaa !0 49 %chain.addr.1 = phi ptr [ null, %entry ], [ %chain.addr.0, %if.end.loopexit ] 50 ret ptr %chain.addr.1
|
/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeLayout.cpp | 22 // in the ExtTSP score, which models how i-cache "friendly" a specific chain is. 23 // A pair of chains giving the maximum gain is merged into a new chain. The 24 // procedure stops when there is only one chain left, or when merging does not 101 // The maximum size of a chain created by the algorithm. The size is bounded 104 MaxChainSize("ext-tsp-max-chain-size", cl::ReallyHidden, cl::init(512), 105 cl::desc("The maximum size of a chain to create")); 107 // The maximum size of a chain for splitting. Larger values of the threshold 110 "ext-tsp-chain-split-threshold", cl::ReallyHidden, cl::init(128), 111 cl::desc("The maximum size of a chain to apply splitting")); 126 CDMaxChainSize("cdsort-max-chain 1003 for (const ChainT *Chain : SortedChains) concatChains() local 1370 for (const ChainT *Chain : SortedChains) concatChains() local [all...] |