/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-c-test/ |
H A D | echo.cpp | 431 if (LLVMIsAConstant(Src)) in CloneValue() 435 auto i = VMap.find(Src); in CloneValue() 475 auto i = VMap.find(Src); in CloneInstruction() 530 CloneAttrs(Src, Dst); in CloneInstruction() 691 VMap[Src] = Dst = LLVMBuildPhi(Builder, CloneType(Src), Name); in CloneInstruction() 713 CloneAttrs(Src, Dst); in CloneInstruction() 860 return VMap[Src] = Dst; in CloneInstruction() 883 return BBMap[Src] = BB; in DeclareBB() 1394 declare_symbols(Src, M); in llvm_echo() 1395 clone_symbols(Src, M); in llvm_echo() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/ |
H A D | Object.h | 165 Dest.Value = Src.Value; in copySymbol() 167 Dest.Type = Src.Type; in copySymbol() 168 Dest.StorageClass = Src.StorageClass; in copySymbol() 176 Dest.Magic = Src.Magic; in copyPeHeader() 179 Dest.SizeOfCode = Src.SizeOfCode; in copyPeHeader() 183 Dest.BaseOfCode = Src.BaseOfCode; in copyPeHeader() 184 Dest.ImageBase = Src.ImageBase; in copyPeHeader() 194 Dest.SizeOfImage = Src.SizeOfImage; in copyPeHeader() 196 Dest.CheckSum = Src.CheckSum; in copyPeHeader() 197 Dest.Subsystem = Src.Subsystem; in copyPeHeader() [all …]
|
/netbsd/sys/external/bsd/gnu-efi/dist/lib/runtime/ |
H A D | rtstr.c | 52 IN CONST CHAR16 *Src in RtStrCpy() argument 56 while (*Src) { in RtStrCpy() 57 *(Dest++) = *(Src++); in RtStrCpy() 69 IN CONST CHAR16 *Src, in RtStrnCpy() argument 87 IN CONST CHAR16 *Src in RtStpCpy() argument 91 while (*Src) { in RtStpCpy() 92 *(Dest++) = *(Src++); in RtStpCpy() 105 IN CONST CHAR16 *Src, in RtStpnCpy() argument 124 IN CONST CHAR16 *Src in RtStrCat() argument 137 IN CONST CHAR16 *Src, in RtStrnCat() argument [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | DependenceGraphBuilder.cpp | 165 createDefUseEdge(Src, Dst); in createPiBlocks() 168 createMemoryEdge(Src, Dst); in createPiBlocks() 171 createRootedEdge(Src, Dst); in createPiBlocks() 180 if (!Src->hasEdgeTo(*Dst)) in createPiBlocks() 191 Src->findEdgesTo(*Dst, EL); in createPiBlocks() 204 Src->removeEdge(*OldEdge); in createPiBlocks() 440 assert(Src.getEdges().size() == 1 && in simplify() 449 if (!areNodesMergeable(Src, Tgt)) in simplify() 454 if (Tgt.hasEdgeTo(Src)) in simplify() 459 mergeNodes(Src, Tgt); in simplify() [all …]
|
H A D | DependenceAnalysis.cpp | 822 const SCEV *Src = Pair->Src; in unifySubscriptType() local 847 const SCEV *Src = Pair->Src; in unifySubscriptType() local 872 const SCEV *Src = Pair->Src; in removeMatchingExtensions() local 3088 Src = SE->getMinusSCEV(Src, DA_K); in propagateDistance() 3089 Src = zeroCoefficient(Src, CurLoop); in propagateDistance() 3141 Src = zeroCoefficient(Src, CurLoop); in propagateLine() 3155 Src = zeroCoefficient(Src, CurLoop); in propagateLine() 3163 Src = SE->getMulExpr(Src, A); in propagateLine() 3165 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, C)); in propagateLine() 3166 Src = zeroCoefficient(Src, CurLoop); in propagateLine() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | MachineBranchProbabilityInfo.cpp | 53 const MachineBasicBlock *Src, in getEdgeProbability() argument 55 return Src->getSuccProbability(Dst); in getEdgeProbability() 59 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { in getEdgeProbability() argument 62 return getEdgeProbability(Src, find(Src->successors(), Dst)); in getEdgeProbability() 66 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { in isEdgeHot() argument 68 return getEdgeProbability(Src, Dst) > HotProb; in isEdgeHot() 92 raw_ostream &OS, const MachineBasicBlock *Src, in printEdgeProbability() argument 95 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability() 96 OS << "edge " << printMBBReference(*Src) << " -> " << printMBBReference(*Dst) in printEdgeProbability() 98 << (isEdgeHot(Src, Dst) ? " [HOT edge]\n" : "\n"); in printEdgeProbability()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.cpp | 105 if (Src.getValueType().bitsGT(MVT::i32)) in EmitSpecializedLibcall() 106 Src = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, Src); in EmitSpecializedLibcall() 107 else if (Src.getValueType().bitsLT(MVT::i32)) in EmitSpecializedLibcall() 108 Src = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i32, Src); in EmitSpecializedLibcall() 110 Entry.Node = Src; in EmitSpecializedLibcall() 115 Entry.Node = Src; in EmitSpecializedLibcall() 233 Dst = DAG.getNode(ARMISD::MEMCPY, dl, VTs, Chain, Dst, Src, in EmitTargetCodeForMemcpy() 235 Src = Dst.getValue(1); in EmitTargetCodeForMemcpy() 293 return EmitSpecializedLibcall(DAG, dl, Chain, Dst, Src, Size, in EmitTargetCodeForMemmove() 311 Src = DAG.getSplatBuildVector(MVT::v16i8, dl, in EmitTargetCodeForMemset() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.h | 225 void validateTruncExt(const LLT Dst, const LLT Src, bool IsExtend); 632 return buildInstr(TargetOpcode::G_PTRTOINT, {Dst}, {Src}); in buildPtrToInt() 637 return buildInstr(TargetOpcode::G_INTTOPTR, {Dst}, {Src}); in buildIntToPtr() 642 return buildInstr(TargetOpcode::G_BITCAST, {Dst}, {Src}); in buildBitcast() 966 const SrcOp &Src); 1372 return buildInstr(TargetOpcode::G_FREEZE, {Dst}, {Src}); in buildFreeze() 1646 return buildInstr(TargetOpcode::G_FLOG, {Dst}, {Src}, Flags); 1652 return buildInstr(TargetOpcode::G_FLOG2, {Dst}, {Src}, Flags); 1720 return buildInstr(TargetOpcode::G_ABS, {Dst}, {Src}); in buildAbs() 1862 return buildInstr(TargetOpcode::G_ROTR, {Dst}, {Src, Amt}); in buildRotateRight() [all …]
|
H A D | MIPatternMatch.h | 404 m_GAnyExt(const SrcTy &Src) { 410 return UnaryOp_match<SrcTy, TargetOpcode::G_SEXT>(Src); 415 return UnaryOp_match<SrcTy, TargetOpcode::G_ZEXT>(Src); 430 m_GBitcast(const SrcTy &Src) { 436 m_GPtrToInt(const SrcTy &Src) { 442 m_GIntToPtr(const SrcTy &Src) { 448 m_GFPTrunc(const SrcTy &Src) { 558 m_Neg(const SrcTy &&Src) { 559 return m_GSub(m_ZeroInt(), Src); 566 m_Not(const SrcTy &&Src) { [all …]
|
/netbsd/sys/external/bsd/gnu-efi/dist/lib/ |
H A D | str.c | 111 IN CONST CHAR16 *Src in StrCpy() argument 115 RtStrCpy (Dest, Src); in StrCpy() 121 IN CONST CHAR16 *Src, in StrnCpy() argument 132 IN CONST CHAR16 *Src in StpCpy() argument 142 IN CONST CHAR16 *Src, in StpnCpy() argument 153 IN CONST CHAR16 *Src in StrCat() argument 156 RtStrCat(Dest, Src); in StrCat() 162 IN CONST CHAR16 *Src, in StrnCat() argument 166 RtStrnCat(Dest, Src, Len); in StrnCat() 200 IN CONST CHAR16 *Src in StrDuplicate() argument [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 27 SDValue Src, uint64_t Size) { in emitMemMem() argument 28 EVT PtrVT = Src.getValueType(); in emitMemMem() 41 return DAG.getNode(Loop, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 57 Chain, Dst, Src, CSize->getZExtValue()); in EmitTargetCodeForMemcpy() 199 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForMemchr() 207 Limit, Src, Char); in EmitTargetCodeForMemchr() 253 EVT PtrVT = Src.getValueType(); in getBoundedStrlen() 258 SDValue Len = DAG.getNode(ISD::SUB, DL, PtrVT, End, Src); in getBoundedStrlen() 265 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForStrlen() 272 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForStrnlen() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | VNCoercion.cpp | 392 Constant *Src = dyn_cast<Constant>(MTI->getSource()); in analyzeLoadFromClobberingMemInst() local 393 if (!Src) in analyzeLoadFromClobberingMemInst() 410 Src = ConstantExpr::getBitCast(Src, in analyzeLoadFromClobberingMemInst() 414 Src = ConstantExpr::getGetElementPtr(Type::getInt8Ty(Src->getContext()), in analyzeLoadFromClobberingMemInst() 417 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); in analyzeLoadFromClobberingMemInst() 418 if (ConstantFoldLoadFromConstPtr(Src, LoadTy, DL)) in analyzeLoadFromClobberingMemInst() 585 Constant *Src = cast<Constant>(MTI->getSource()); 591 Src = ConstantExpr::getBitCast(Src, 595 Src = ConstantExpr::getGetElementPtr(Type::getInt8Ty(Src->getContext()), 598 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 56 const GlobalValue &Src); 164 Src == Comdat::SelectionKind::Largest) in computeResultingSelectionKind() 168 } else if (Src == Dst) { in computeResultingSelectionKind() 256 bool SrcIsDeclaration = Src.isDeclarationForLinker(); in shouldLinkFromSource() 262 if (Src.hasDLLImportStorageClass()) { in shouldLinkFromSource() 283 if (Src.hasCommonLinkage()) { in shouldLinkFromSource() 301 if (Src.isWeakForLinker()) { in shouldLinkFromSource() 315 assert(Src.hasExternalLinkage()); in shouldLinkFromSource() 320 assert(!Src.hasExternalWeakLinkage()); in shouldLinkFromSource() 575 std::unique_ptr<Module> Src, unsigned Flags, in linkInModule() argument [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | DependenceAnalysis.h | 79 Src(Source), in Dependence() 202 Instruction *Src, *Dst; 346 const SCEV *Src; member 601 bool testZIV(const SCEV *Src, 615 bool testSIV(const SCEV *Src, 631 bool testRDIV(const SCEV *Src, 638 bool testMIV(const SCEV *Src, 770 bool gcdMIVtest(const SCEV *Src, 778 bool banerjeeMIVtest(const SCEV *Src, 865 bool propagate(const SCEV *&Src, [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 97 const UTF16 *Src = reinterpret_cast<const UTF16 *>(SrcBytes.begin()); in convertUTF16ToUTF8String() local 100 assert((uintptr_t)Src % sizeof(UTF16) == 0); in convertUTF16ToUTF8String() 104 if (Src[0] == UNI_UTF16_BYTE_ORDER_MARK_SWAPPED) { in convertUTF16ToUTF8String() 105 ByteSwapped.insert(ByteSwapped.end(), Src, SrcEnd); in convertUTF16ToUTF8String() 108 Src = &ByteSwapped[0]; in convertUTF16ToUTF8String() 113 if (Src[0] == UNI_UTF16_BYTE_ORDER_MARK_NATIVE) in convertUTF16ToUTF8String() 114 Src++; in convertUTF16ToUTF8String() 137 bool convertUTF16ToUTF8String(ArrayRef<UTF16> Src, std::string &Out) in convertUTF16ToUTF8String() argument 140 llvm::ArrayRef<char>(reinterpret_cast<const char *>(Src.data()), in convertUTF16ToUTF8String() 141 Src.size() * sizeof(UTF16)), Out); in convertUTF16ToUTF8String() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/ |
H A D | CheckerManager.h | 250 const ExplodedNodeSet &Src, in runCheckersForPreStmt() argument 253 runCheckersForStmt(/*isPreVisit=*/true, Dst, Src, S, Eng); in runCheckersForPreStmt() 263 const ExplodedNodeSet &Src, 278 const ExplodedNodeSet &Src, in runCheckersForPreObjCMessage() argument 286 const ExplodedNodeSet &Src, 296 const ExplodedNodeSet &Src, in runCheckersForObjCMessageNil() argument 306 const ExplodedNodeSet &Src, 326 const ExplodedNodeSet &Src, 332 const ExplodedNodeSet &Src, 341 const ExplodedNodeSet &Src, [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | R600InstrInfo.cpp | 353 if (Src[0] == Src[1]) in Swizzle() 359 std::swap(Src[1], Src[2]); in Swizzle() 362 std::swap(Src[0], Src[1]); in Swizzle() 365 std::swap(Src[0], Src[1]); in Swizzle() 366 std::swap(Src[0], Src[2]); in Swizzle() 369 std::swap(Src[0], Src[2]); in Swizzle() 370 std::swap(Src[0], Src[1]); in Swizzle() 373 std::swap(Src[0], Src[2]); in Swizzle() 418 if (Src.first < 0 || Src.first == 255) in isLegalUpTo() 431 Vector[Src.second][j] = Src.first; in isLegalUpTo() [all …]
|
H A D | SIShrinkInstructions.cpp | 118 return isInt<16>(Src.getImm()) && in isKImmOperand() 120 Src.getParent()->getOperandNo(&Src)); in isKImmOperand() 124 return isUInt<16>(Src.getImm()) && in isKUImmOperand() 126 Src.getParent()->getOperandNo(&Src)); in isKUImmOperand() 132 if (isInt<16>(Src.getImm())) { in isKImmOrKUImmOperand() 134 return !TII->isInlineConstant(Src); in isKImmOrKUImmOperand() 137 if (isUInt<16>(Src.getImm())) { in isKImmOrKUImmOperand() 139 return !TII->isInlineConstant(Src); in isKImmOrKUImmOperand() 150 if (!isInt<32>(Src.getImm()) || TII->isInlineConstant(Src)) in isReverseInlineImm() 628 Src.setImm(ReverseImm); in runOnMachineFunction() [all …]
|
/netbsd/sys/external/bsd/gnu-efi/dist/inc/ |
H A D | efirtlib.h | 61 IN CONST VOID *Src, 69 IN CONST VOID *Src, 85 IN CONST CHAR16 *Src 92 IN CONST CHAR16 *Src, 100 IN CONST CHAR16 *Src 107 IN CONST CHAR16 *Src, 115 IN CONST CHAR16 *Src 122 IN CONST CHAR16 *Src,
|
/netbsd/external/gpl2/diffutils/dist/lib/ |
H A D | xalloc.h | 77 # define CCLONE(Src, Num) \ argument 78 (memcpy (xmalloc (sizeof (*Src) * (Num)), (Src), sizeof (*Src) * (Num))) 81 # define CLONE(Src) CCLONE (Src, 1) argument
|
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 174 Src = getCastedInt8PtrValue(Src); in CreateMemTransferInst() 210 Src = getCastedInt8PtrValue(Src); in CreateMemCpyInline() 213 Value *Ops[] = {Dst, Src, Size, IsVolatile}; in CreateMemCpyInline() 239 Src = getCastedInt8PtrValue(Src); in CreateElementUnorderedAtomicMemCpy() 277 Src = getCastedInt8PtrValue(Src); in CreateMemMove() 314 Src = getCastedInt8PtrValue(Src); in CreateElementUnorderedAtomicMemMove() 348 Value *Ops[] = {Src}; in getReductionIntrinsic() 349 Type *Tys[] = { Src->getType() }; in getReductionIntrinsic() 356 Value *Ops[] = {Acc, Src}; in CreateFAddReduce() 364 Value *Ops[] = {Acc, Src}; in CreateFMulReduce() [all …]
|
/netbsd/external/gpl2/grep/dist/lib/ |
H A D | xalloc.h | 82 # define CCLONE(Src, Num) \ argument 83 (memcpy (xmalloc (sizeof (*Src) * (Num)), (Src), sizeof (*Src) * (Num))) 86 # define CLONE(Src) CCLONE (Src, 1) argument
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonSubtarget.cpp | 392 if (!Src->isInstr() || !Dst->isInstr()) in adjustSchedDependency() 490 MachineInstr *SrcI = Src->getInstr(); in restoreLatency() 491 for (auto &I : Src->Succs) { in restoreLatency() 529 T.setSUnit(Src); in restoreLatency() 539 for (auto &I : Src->Succs) { in changeLatency() 546 T.setSUnit(Src); in changeLatency() 595 DstBest = getZeroLatency(Src, Src->Succs); in isBestZeroLatency() 606 (Src == SrcBest && Dst == nullptr)) in isBestZeroLatency() 619 changeLatency(Src, DstBest, 1); in isBestZeroLatency() 621 restoreLatency(Src, DstBest); in isBestZeroLatency() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 279 Value *Src = CI.getOperand(0); in commonCastTransforms() local 844 if (Src->hasOneUse()) { in visitTrunc() 884 if (Src->hasOneUse() && in visitTrunc() 1639 Value *Src = I.getOperand(0); in isKnownExactCastIntToFP() local 1640 Type *SrcTy = Src->getType(); in isKnownExactCastIntToFP() 1654 if (match(Src, m_FPToSI(m_Value(F))) || match(Src, m_FPToUI(m_Value(F)))) { in isKnownExactCastIntToFP() 1819 if (!Src->hasOneUse()) in visitFPTrunc() 1850 if (isa<SIToFPInst>(Src) || isa<UIToFPInst>(Src)) { in visitFPTrunc() 1864 if (isa<SIToFPInst>(Src) || isa<UIToFPInst>(Src)) { in visitFPExt() 2556 Type *SrcTy = Src->getType(); in visitBitCast() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/MIRParser/ |
H A D | MIParser.h | 200 StringRef Src, SMDiagnostic &Error); 212 bool parseMachineInstructions(PerFunctionMIParsingState &PFS, StringRef Src, 216 MachineBasicBlock *&MBB, StringRef Src, 220 Register &Reg, StringRef Src, 224 StringRef Src, SMDiagnostic &Error); 227 VRegInfo *&Info, StringRef Src, 231 StringRef Src, SMDiagnostic &Error); 233 bool parseMDNode(PerFunctionMIParsingState &PFS, MDNode *&Node, StringRef Src,
|