/external/clang/lib/Analysis/ |
H A D | CFGReachabilityAnalysis.cpp | 25 bool CFGReverseBlockReachabilityAnalysis::isReachable(const CFGBlock *Src, argument 37 return reachable[DstBlockID][Src->getBlockID()];
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | BasicBlockUtils.h | 136 /// SplitCriticalEdge - If an edge from Src to Dst is critical, split the edge 140 inline BasicBlock *SplitCriticalEdge(BasicBlock *Src, BasicBlock *Dst, argument 144 TerminatorInst *TI = Src->getTerminator();
|
/external/llvm/lib/CodeGen/ |
H A D | MachineBranchProbabilityInfo.cpp | 64 getEdgeWeight(const MachineBasicBlock *Src, argument 66 uint32_t Weight = Src->getSuccWeight(Dst); 73 getEdgeWeight(const MachineBasicBlock *Src, argument 77 return getEdgeWeight(Src, std::find(Src->succ_begin(), Src->succ_end(), Dst)); 80 bool MachineBranchProbabilityInfo::isEdgeHot(MachineBasicBlock *Src, argument 84 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); 107 MachineBranchProbabilityInfo::getEdgeProbability(MachineBasicBlock *Src, argument 110 uint32_t D = getSumForBlock(Src, Scal 117 printEdgeProbability(raw_ostream &OS, MachineBasicBlock *Src, MachineBasicBlock *Dst) const argument [all...] |
H A D | MachineCopyPropagation.cpp | 110 static bool isNopCopy(MachineInstr *CopyMI, unsigned Def, unsigned Src, argument 120 return SubIdx == TRI->getSubRegIndex(SrcDef, Src); 130 SourceMap SrcMap; // Src -> Def map 139 unsigned Src = MI->getOperand(1).getReg(); local 142 TargetRegisterInfo::isVirtualRegister(Src)) 146 DenseMap<unsigned, MachineInstr*>::iterator CI = AvailCopyMap.find(Src); 150 (!ReservedRegs.test(Src) || NoInterveningSideEffect(CopyMI, MI)) && 151 isNopCopy(CopyMI, Def, Src, TRI)) { 178 // If Src is defined by a previous copy, it cannot be eliminated. 179 for (MCRegAliasIterator AI(Src, TR [all...] |
H A D | IntrinsicLowering.cpp | 405 Value *Src = CI->getArgOperand(0); local 406 Value *NotSrc = Builder.CreateNot(Src); 407 NotSrc->setName(Src->getName() + ".not"); 408 Value *SrcM1 = ConstantInt::get(Src->getType(), 1); 409 SrcM1 = Builder.CreateSub(Src, SrcM1); 410 Src = LowerCTPOP(Context, Builder.CreateAnd(NotSrc, SrcM1), CI); 411 CI->replaceAllUsesWith(Src);
|
H A D | PeepholeOptimizer.cpp | 313 unsigned Src = 0; local 323 else if (Src) 327 Src = Reg; 330 assert(Def && Src && "Malformed bitcast instruction!"); 332 MachineInstr *DefMI = MRI->getVRegDef(Src);
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonSelectionDAGInfo.cpp | 31 SDValue Dst, SDValue Src, SDValue Size, unsigned Align, 30 EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
|
H A D | HexagonPeephole.cpp | 97 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src); 132 MachineOperand &Src = MI->getOperand(1); local 134 unsigned SrcReg = Src.getReg(); 168 MachineOperand &Src = MI->getOperand(1); local 170 unsigned SrcReg = Src.getReg(); 186 MachineOperand &Src = MI->getOperand(1); local 189 if (Src.getSubReg() != Hexagon::subreg_loreg) 193 unsigned SrcReg = Src.getReg(); 290 void HexagonPeephole::ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) { argument 291 assert (&Dst != &Src [all...] |
/external/llvm/lib/VMCore/ |
H A D | SymbolTableListTraitsImpl.h | 30 ::setSymTabObject(TPtr *Dest, TPtr Src) { argument 35 *Dest = Src;
|
H A D | IRBuilder.cpp | 82 CreateMemCpy(Value *Dst, Value *Src, Value *Size, unsigned Align, argument 85 Src = getCastedInt8PtrValue(Src); 87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; 88 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; 102 CreateMemMove(Value *Dst, Value *Src, Value *Size, unsigned Align, argument 105 Src = getCastedInt8PtrValue(Src); 107 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; 108 Type *Tys[] = { Dst->getType(), Src [all...] |
H A D | Function.cpp | 301 /// create a Function) from the Function Src to this one. 302 void Function::copyAttributesFrom(const GlobalValue *Src) { argument 303 assert(isa<Function>(Src) && "Expected a Function!"); 304 GlobalValue::copyAttributesFrom(Src); 305 const Function *SrcF = cast<Function>(Src);
|
H A D | Globals.cpp | 49 /// create a GlobalValue) from the GlobalValue Src to this one. 50 void GlobalValue::copyAttributesFrom(const GlobalValue *Src) { argument 51 setAlignment(Src->getAlignment()); 52 setSection(Src->getSection()); 53 setVisibility(Src->getVisibility()); 54 setUnnamedAddr(Src->hasUnnamedAddr()); 176 /// create a GlobalVariable) from the GlobalVariable Src to this one. 177 void GlobalVariable::copyAttributesFrom(const GlobalValue *Src) { argument 178 assert(isa<GlobalVariable>(Src) && "Expected a GlobalVariable!"); 179 GlobalValue::copyAttributesFrom(Src); [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | ProfileDataLoader.h | 67 static Edge getEdge(const BType *Src, const BType *Dest) { argument 68 return Edge(Src, Dest);
|
H A D | BlockFrequencyImpl.h | 73 /// getEdgeFreq - Return edge frequency based on SRC frequency and Src -> Dst 75 BlockFrequency getEdgeFreq(BlockT *Src, BlockT *Dst) const { argument 76 BranchProbability Prob = BPI->getEdgeProbability(Src, Dst); 77 return getBlockFreq(Src) * Prob; 141 /// isBackedge - Return if edge Src -> Dst is a backedge. 143 bool isBackedge(BlockT *Src, BlockT *Dst) { argument 144 assert(isReachable(Src)); 147 unsigned a = RPO[Src];
|
H A D | ProfileInfo.h | 97 static Edge getEdge(const BType *Src, const BType *Dest) { argument 98 return std::make_pair(Src, Dest); 152 const BType *GetPath(const BType *Src, const BType *Dest,
|
/external/llvm/include/llvm/ |
H A D | Linker.h | 243 /// This method links the \p Src module into the Linker's Composite module 251 Module* Src, ///< Module linked into \p Dest 254 return LinkModules(Composite, Src, Linker::DestroySource, ErrorMsg ); 258 /// control of the \p Src module and link it into the \p Dest module. The 259 /// \p Src module will be destructed or subsumed by this method. In either 261 /// the \p Dest module will remain. The \p Src module is linked into the 268 static bool LinkModules(Module* Dest, Module* Src, unsigned Mode, 250 LinkInModule( Module* Src, std::string* ErrorMsg = 0 ) argument
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinterDwarf.cpp | 181 const MachineLocation &Src = Move.getSource(); local 185 if (Src.getReg() == MachineLocation::VirtualFP) { 186 OutStreamer.EmitCFIDefCfaOffset(-Src.getOffset()); 189 OutStreamer.EmitCFIDefCfa(RI->getDwarfRegNum(Src.getReg(), true), 190 Src.getOffset()); 192 } else if (Src.isReg() && Src.getReg() == MachineLocation::VirtualFP) { 197 OutStreamer.EmitCFIOffset(RI->getDwarfRegNum(Src.getReg(), true),
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.cpp | 31 SDValue Dst, SDValue Src, 67 DAG.getNode(ISD::ADD, dl, MVT::i32, Src, 106 DAG.getNode(ISD::ADD, dl, MVT::i32, Src, 145 SDValue Src, SDValue Size, 170 if (Src.getValueType().bitsGT(MVT::i32)) 171 Src = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, Src); 173 Src = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i32, Src); 176 Entry.Node = Src; 29 EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument 143 EmitTargetCodeForMemset(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument [all...] |
/external/llvm/unittests/Support/ |
H A D | IntegersSubsetTest.cpp | 26 Int(const APInt& Src) : APInt(Src) {} argument
|
/external/llvm/lib/Target/X86/ |
H A D | X86SelectionDAGInfo.cpp | 32 SDValue Dst, SDValue Src, 52 ConstantSDNode *V = dyn_cast<ConstantSDNode>(Src); 85 ConstantSDNode *ValC = dyn_cast<ConstantSDNode>(Src); 129 Chain = DAG.getCopyToReg(Chain, dl, X86::AL, Src, InFlag); 168 Src, 179 SDValue Chain, SDValue Dst, SDValue Src, 233 Src, InFlag); 247 EVT SrcVT = Src.getValueType(); 252 DAG.getNode(ISD::ADD, dl, SrcVT, Src, 30 EmitTargetCodeForMemset(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument 178 EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 175 Value *Src; local 182 Src = SVI->getOperand(0); 185 Src = SVI->getOperand(1); 188 return ExtractElementInst::Create(Src,
|
/external/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 141 Value *llvm::EmitStrCpy(Value *Dst, Value *Src, IRBuilder<> &B, argument 154 CallInst *CI = B.CreateCall2(StrCpy, CastToCStr(Dst, B), CastToCStr(Src, B), 163 Value *llvm::EmitStrNCpy(Value *Dst, Value *Src, Value *Len, argument 177 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B), 185 /// This expects that the Len and ObjSize have type 'intptr_t' and Dst/Src 187 Value *llvm::EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, argument 205 Src = CastToCStr(Src, B); 206 CallInst *CI = B.CreateCall4(MemCpy, Dst, Src, Len, ObjSize);
|
/external/clang/include/clang/Analysis/Support/ |
H A D | BlkExprDeclBitVector.h | 162 struct Union { void operator()(ValTy& Dst, ValTy& Src) { Dst |= Src; } }; argument 163 struct Intersect { void operator()(ValTy& Dst, ValTy& Src) { Dst &= Src; } }; argument 301 struct Union { void operator()(ValTy& Dst, ValTy& Src) { Dst |= Src; } }; argument 302 struct Intersect { void operator()(ValTy& Dst, ValTy& Src) { Dst &= Src; } }; argument
|
/external/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 455 isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const { argument 458 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); 491 getEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors) const { argument 493 Weights.find(std::make_pair(Src, IndexInSuccessors)); 502 /// of all raw edge weights from Src to Dst. 504 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const { argument 507 for (succ_const_iterator I = succ_begin(Src), E = succ_end(Src); I != E; ++I) 509 MapI = Weights.find(std::make_pair(Src, I.getSuccessorIndex())); 519 setEdgeWeight(const BasicBlock *Src, unsigne argument 529 getEdgeProbability(const BasicBlock *Src, unsigned IndexInSuccessors) const argument 539 getEdgeProbability(const BasicBlock *Src, const BasicBlock *Dst) const argument 548 printEdgeProbability(raw_ostream &OS, const BasicBlock *Src, const BasicBlock *Dst) const argument [all...] |
/external/llvm/lib/ExecutionEngine/JIT/ |
H A D | JITDwarfEmitter.cpp | 86 const MachineLocation &Src = Move.getSource(); local 99 if (!Src.isReg()) { 100 if (Src.getReg() == MachineLocation::VirtualFP) { 104 JCE->emitULEB128Bytes(RI->getDwarfRegNum(Src.getReg(), true)); 107 JCE->emitULEB128Bytes(-Src.getOffset()); 111 } else if (Src.isReg() && 112 Src.getReg() == MachineLocation::VirtualFP) { 120 unsigned Reg = RI->getDwarfRegNum(Src.getReg(), true);
|