| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZSelectionDAGInfo.cpp | 43 DAG.getConstant(Size, DL, PtrVT), in emitMemMem() 46 DAG.getConstant(Size, DL, PtrVT)); in emitMemMem() 72 Chain, DL, DAG.getConstant(StoreVal, DL, MVT::getIntegerVT(Size * 8)), in memsetStore() 104 Dst = DAG.getNode(ISD::ADD, DL, PtrVT, Dst, in EmitTargetCodeForMemset() 163 DAG.getConstant(Size, DL, PtrVT)); in emitCLC() 201 Length = DAG.getZExtOrTrunc(Length, DL, PtrVT); in EmitTargetCodeForMemchr() 202 Char = DAG.getZExtOrTrunc(Char, DL, MVT::i32); in EmitTargetCodeForMemchr() 203 Char = DAG.getNode(ISD::AND, DL, MVT::i32, Char, in EmitTargetCodeForMemchr() 213 SDValue Ops[] = {End, DAG.getConstant(0, DL, PtrVT), in EmitTargetCodeForMemchr() 266 return getBoundedStrlen(DAG, DL, Chain, Src, DAG.getConstant(0, DL, PtrVT)); in EmitTargetCodeForStrlen() [all …]
|
| H A D | SystemZISelLowering.cpp | 1261 SDLoc &DL = CLI.DL; in LowerCall() local 2527 SDLoc DL(Op); in lowerSETCC() local 2542 SDLoc DL(Op); in lowerBR_CC() local 2580 SDLoc DL(Op); in lowerSELECT_CC() local 2812 SDLoc DL(JT); in lowerJumpTable() local 2822 SDLoc DL(CP); in lowerConstantPool() local 2843 SDLoc DL(Op); in lowerFRAMEADDR() local 2874 SDLoc DL(Op); in lowerRETURNADDR() local 3225 SDLoc DL(N); in lowerXALUO() local 3278 SDLoc DL(N); in lowerADDSUBCARRY() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 30 if (StoreSize < DL.getTypeSizeInBits(LoadTy)) in canCoerceMustAliasedValueToLoad() 35 DL.isNonIntegralPointerType(LoadTy)) in canCoerceMustAliasedValueToLoad() 65 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 95 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 107 if (DL.isBigEndian()) { in coerceAvailableValueToLoadTypeHelper() 177 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy); in analyzeLoadFromClobberingWrite() 219 DL); in analyzeLoadFromClobberingStore() 242 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in analyzeLoadFromClobberingLoad() 331 if (DL.isLittleEndian()) in getStoreValueForLoadHelper() 374 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in getLoadValueForLoad() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 29 const DataLayout &DL) { in isAligned() argument 36 BaseAlign = DL.getABITypeAlignment(Ty); in isAligned() 48 APInt Offset(DL.getTypeStoreSizeInBits(Ty), 0); in isAligned() 49 return isAligned(Base, Offset, Align, DL); in isAligned() 76 return isAligned(V, Align, DL); in isDereferenceableAndAlignedPointer() 98 DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer() 142 Align = DL.getABITypeAlignment(Ty); in isDereferenceableAndAlignedPointer() 149 V, Align, APInt(DL.getIndexTypeSizeInBits(VTy), DL.getTypeStoreSize(Ty)), DL, in isDereferenceableAndAlignedPointer() 247 BaseAlign = DL.getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally() 294 AccessedAlign = DL.getABITypeAlignment(AccessedTy); in isSafeToLoadUnconditionally() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | R600ISelLowering.cpp | 710 SDLoc DL(Op); in LowerEXTRACT_VECTOR_ELT() local 725 SDLoc DL(Op); in LowerINSERT_VECTOR_ELT() local 760 SDLoc DL(Op); in LowerTrig() local 790 SDLoc DL(Op); in LowerSHLParts() local 826 SDLoc DL(Op); in LowerSRXParts() local 865 SDLoc DL(Op); in LowerUADDSUBO() local 882 SDLoc DL(Op); in lowerFP_TO_UINT() local 885 DL, in lowerFP_TO_UINT() 892 SDLoc DL(Op); in lowerFP_TO_SINT() local 895 DL, in lowerFP_TO_SINT() [all …]
|
| H A D | AMDGPUISelLowering.cpp | 1468 SDLoc DL(Op); in LowerDIVREM24() local 1575 SDLoc DL(Op); in LowerUDIVREM64() local 1784 SDLoc DL(Op); in LowerUDIVREM() local 1899 SDLoc DL(Op); in LowerSDIVREM() local 2538 SDLoc DL(Op); in LowerFP_TO_FP16() local 2621 V = DAG.getSelectCC(DL, E, DAG.getConstant(30, DL, MVT::i32), in LowerFP_TO_FP16() 2691 SDLoc DL(Op); in LowerSIGN_EXTEND_INREG() local 3207 SDLoc DL(N); in performMulCombine() local 3249 SDLoc DL(N); in performMulhsCombine() local 3273 SDLoc DL(N); in performMulhuCombine() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Mangler.cpp | 51 OS << DL.getPrivateGlobalPrefix(); in getNameWithPrefixImpl() 53 OS << DL.getLinkerPrivateGlobalPrefix(); in getNameWithPrefixImpl() 63 const DataLayout &DL, in getNameWithPrefixImpl() argument 65 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixImpl() 70 const DataLayout &DL) { in getNameWithPrefix() argument 77 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() 95 const DataLayout &DL) { in addByteCountSuffix() argument 105 unsigned PtrSize = DL.getPointerSize(); in addByteCountSuffix() 136 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() 150 if (!DL.hasMicrosoftFastStdCallMangling() && in getNameWithPrefix() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/ |
| H A D | RISCVExpandPseudoInsts.cpp | 190 BuildMI(LoopMBB, DL, TII->get(RISCV::BNE)) in doAtomicBinOpExpansion() 213 BuildMI(MBB, DL, TII->get(RISCV::XOR), DestReg) in insertMaskedMerge() 275 BuildMI(LoopMBB, DL, TII->get(RISCV::BNE)) in doMaskedAtomicBinOpExpansion() 286 DebugLoc DL = MI.getDebugLoc(); in expandAtomicBinOp() local 322 BuildMI(MBB, DL, TII->get(RISCV::SLL), ValReg) in insertSext() 325 BuildMI(MBB, DL, TII->get(RISCV::SRA), ValReg) in insertSext() 339 DebugLoc DL = MI.getDebugLoc(); in expandAtomicMinMaxOp() local 393 BuildMI(LoopHeadMBB, DL, TII->get(RISCV::BGE)) in expandAtomicMinMaxOp() 401 BuildMI(LoopHeadMBB, DL, TII->get(RISCV::BGE)) in expandAtomicMinMaxOp() 434 BuildMI(LoopTailMBB, DL, TII->get(RISCV::BNE)) in expandAtomicMinMaxOp() [all …]
|
| H A D | RISCVISelLowering.cpp | 175 return getPointerTy(DL); in getSetCCResultType() 342 SDLoc DL(Op); in lowerGlobalAddress() local 368 SDLoc DL(Op); in lowerBlockAddress() local 387 SDLoc DL(Op); in lowerConstantPool() local 412 SDLoc DL(Op); in lowerSELECT() local 452 SDLoc DL(Op); in lowerVASTART() local 473 SDLoc DL(Op); in lowerFRAMEADDR() local 499 SDLoc DL(Op); in lowerRETURNADDR() local 561 SDLoc DL(N); in PerformDAGCombine() local 578 SDLoc DL(N); in PerformDAGCombine() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 408 SDLoc DL(Op); in lowerSELECT() local 856 SDLoc DL(N); in performDSPShiftCombine() local 1172 SDLoc DL(Op); in lowerLOAD() local 1201 SDLoc DL(Op); in lowerSTORE() local 1231 SDLoc DL(Op); in lowerMulDiv() local 1275 SDLoc DL(Op); in lowerDSPIntr() local 1324 SDLoc DL(Op); in lowerMSACopyIntr() local 1340 SDLoc DL(Op); in lowerMSASplatZExt() local 1429 SDLoc DL(Op); in lowerMSABinaryBitImmIntr() local 1469 SDLoc DL(Op); in truncateVecElts() local [all …]
|
| H A D | MipsISelLowering.cpp | 576 SDLoc DL(N); in performDivRemCombine() local 653 SDLoc DL(Op); in createFPCmp() local 790 SDLoc DL(N); in performANDCombine() local 1093 SDLoc DL(N); in performADDCombine() local 1114 SDLoc DL(N); in performSHLCombine() local 1897 SDLoc DL(Op); in lowerBRCOND() local 1937 SDLoc DL(Op); in lowerSETCC() local 2014 SDLoc DL(GA); in lowerGlobalTLSAddress() local 2125 SDLoc DL(Op); in lowerVASTART() local 2198 SDLoc DL(Op); in lowerFCOPYSIGN32() local [all …]
|
| H A D | MipsSEISelDAGToDAG.cpp | 148 DebugLoc DL; in initGlobalBaseReg() local 165 BuildMI(MBB, I, DL, TII.get(Mips::LUi64), V0) in initGlobalBaseReg() 179 BuildMI(MBB, I, DL, TII.get(Mips::LUi), V0) in initGlobalBaseReg() 194 BuildMI(MBB, I, DL, TII.get(Mips::LUi), V0) in initGlobalBaseReg() 223 BuildMI(MBB, I, DL, TII.get(Mips::ADDu), GlobalBaseReg) in initGlobalBaseReg() 789 SDLoc DL(Node); in trySelect() local 817 selectAddE(Node, DL); in trySelect() 859 SDLoc DL(CN); in trySelect() local 1153 Mips::SUBREG_TO_REG, DL, MVT::i64, in trySelect() 1259 Mips::SUBREG_TO_REG, DL, MVT::i64, in trySelect() [all …]
|
| H A D | MipsBranchExpansion.cpp | 341 MachineInstrBuilder MIB = BuildMI(MBB, Br, DL, NewDesc); in replaceBranch() 368 DebugLoc DL) { in buildProperJumpMI() argument 403 DebugLoc DL = I.Br->getDebugLoc(); in expandToLongBranch() local 460 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)) in expandToLongBranch() 583 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SD)) in expandToLongBranch() 657 BuildMI(*LongBrMBB, Pos, DL, in expandToLongBranch() 707 buildProperJumpMI(LongBrMBB, Pos, DL); in expandToLongBranch() 718 replaceBranch(*MBB, I.Br, DL, &*FallThroughMBB); in expandToLongBranch() 724 DebugLoc DL = MBB.findDebugLoc(MBB.begin()); in emitGPDisp() local 725 BuildMI(MBB, I, DL, TII->get(Mips::LUi), Mips::V0) in emitGPDisp() [all …]
|
| H A D | MipsISelLowering.h | 310 return DL.getABITypeAlignment(ArgTy); in getABIAlignmentForCallingConv() 396 DAG.getLoad(Ty, DL, DAG.getEntryNode(), GOT, in getAddrLocal() 399 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, Ty, in getAddrLocal() 401 return DAG.getNode(ISD::ADD, DL, Ty, Load, Lo); in getAddrLocal() 414 return DAG.getLoad(Ty, DL, Chain, Tgt, PtrInfo); in getAddrGlobal() 445 return DAG.getNode(ISD::ADD, DL, Ty, in getAddrNonPIC() 464 DAG.getNode(MipsISD::Highest, DL, Ty, in getAddrNonPICSym64() 468 DAG.getNode(ISD::ADD, DL, Ty, Highest, in getAddrNonPICSym64() 476 return DAG.getNode(ISD::ADD, DL, Ty, Shift2, in getAddrNonPICSym64() 489 ISD::ADD, DL, Ty, in getAddrGPRel() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | ShadowCallStack.cpp | 95 BuildMI(MBB, MBBI, DL, TII->get(X86::XOR64rr)) in addProlog() 124 const DebugLoc &DL = MI.getDebugLoc(); in addEpilog() local 127 BuildMI(MBB, MI, DL, TII->get(X86::XOR64rr)) in addEpilog() 146 BuildMI(MBB, MI, DL, TII->get(X86::JNE_1)).addMBB(&TrapBB); in addEpilog() 153 const DebugLoc &DL = MI.getDebugLoc(); in addEpilogLeaf() local 159 BuildMI(MBB, MI, DL, TII->get(X86::JNE_1)).addMBB(&TrapBB); in addEpilogLeaf() 165 const DebugLoc &DL = MI.getDebugLoc(); in addEpilogOnlyR10() local 168 BuildMI(MBB, MI, DL, TII->get(X86::XOR64rr)) in addEpilogOnlyR10() 284 const DebugLoc &DL = NonEmpty->front().getDebugLoc(); in runOnMachineFunction() local 288 addPrologLeaf(Fn, TII, MBB, DL, LeafFuncRegister); in runOnMachineFunction() [all …]
|
| H A D | X86FrameLowering.cpp | 480 BuildCFI(MBB, MBBI, DL, in emitCalleeSavedFrameMoves() 997 DebugLoc DL; in emitPrologue() local 1116 BuildCFI(MBB, MBBI, DL, in emitPrologue() 1134 BuildMI(MBB, MBBI, DL, in emitPrologue() 1193 BuildCFI(MBB, MBBI, DL, in emitPrologue() 1586 DebugLoc DL; in emitEpilogue() local 1588 DL = MBBI->getDebugLoc(); in emitEpilogue() 1664 DL = MBBI->getDebugLoc(); in emitEpilogue() 2250 DebugLoc DL; in adjustForSegmentedStacks() local 2529 DebugLoc DL; in adjustForHiPEPrologue() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 604 SDLoc DL = CLI.DL; in LowerCall() local 867 SDLoc DL(Op); in LowerOperation() local 962 SDLoc DL(Op); in LowerGlobalAddress() local 977 SDLoc DL(Op); in LowerExternalSymbol() local 1005 SDLoc DL(Op); in LowerBR_JT() local 1032 SDLoc DL(Op); in LowerVASTART() local 1048 SDLoc DL(Op); in LowerINTRINSIC_WO_CHAIN() local 1072 SDLoc DL(Op); in LowerINTRINSIC_VOID() local 1124 SDLoc DL(Op); in LowerVECTOR_SHUFFLE() local 1167 SDLoc DL(Op); in UnrollVectorShift() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelLowering.cpp | 412 SDLoc &DL = CLI.DL; in LowerCall() local 763 DL); in LowerCCCCallTo() 872 SDLoc DL(Op); in LowerBR_CC() local 937 SDLoc DL(Op); in LowerMUL() local 973 SDLoc DL(Op); in LowerSETCC() local 990 SDLoc DL(Op); in LowerSELECT_CC() local 1006 SDLoc DL(Op); in LowerVASTART() local 1021 SDLoc DL(Op); in LowerDYNAMIC_STACKALLOC() local 1059 SDLoc DL(Op); in LowerRETURNADDR() local 1081 SDLoc DL(Op); in LowerFRAMEADDR() local [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 55 const DataLayout &DL, unsigned Depth = 0, 63 KnownBits computeKnownBits(const Value *V, const DataLayout &DL, 78 const DataLayout &DL, 89 bool isKnownToBeAPowerOfTwo(const Value *V, const DataLayout &DL, 117 bool isKnownNonNegative(const Value *V, const DataLayout &DL, 158 const DataLayout &DL, 242 const DataLayout &DL); 247 DL); in GetPointerBaseWithConstantOffset() 320 Value *GetUnderlyingObject(Value *V, const DataLayout &DL, 363 const DataLayout &DL); [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/ |
| H A D | VNCoercion.h | 39 const DataLayout &DL); 48 IRBuilder<> &IRB, const DataLayout &DL); 56 StoreInst *DepSI, const DataLayout &DL); 64 const DataLayout &DL); 72 MemIntrinsic *DepMI, const DataLayout &DL); 78 Instruction *InsertPt, const DataLayout &DL); 82 Type *LoadTy, const DataLayout &DL); 89 Instruction *InsertPt, const DataLayout &DL); 93 Type *LoadTy, const DataLayout &DL); 101 const DataLayout &DL); [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.cpp | 261 fail(DL, DAG, "defined with too many args"); in LowerFormalArguments() 308 fail(CLI.DL, DAG, "too many args to ", Callee); in LowerCall() 397 DAG.getConstant(0, CLI.DL, PtrVT, true), InFlag, CLI.DL); in LowerCall() 451 return DAG.getNode(Opc, DL, MVT::Other, RetOps); in LowerReturn() 465 fail(DL, DAG, "only small returns supported"); in LowerCallResult() 504 SDLoc DL(Op); in LowerBR_CC() local 519 SDLoc DL(Op); in LowerSELECT_CC() local 556 SDLoc DL(Op); in LowerGlobalAddress() local 570 DebugLoc DL = MI.getDebugLoc(); in EmitSubregExt() local 620 DebugLoc DL = MI.getDebugLoc(); in EmitInstrWithCustomInserter() local [all …]
|
| H A D | BPFISelDAGToDAG.cpp | 110 SDLoc DL(Addr); in SelectAddr() local 146 SDLoc DL(Addr); in SelectFIAddr() local 180 SDLoc DL(Op); in SelectInlineAsmMemoryOperand() local 203 const DebugLoc &DL = Node->getDebugLoc(); in Select() local 204 if (DL != Empty) in Select() 219 SDLoc DL(Node); in Select() local 261 SDLoc DL(Node); in PreprocessLoad() local 378 const DataLayout &DL = CurDAG->getDataLayout(); in getConstantFieldValue() local 408 if (DL.isLittleEndian()) in getConstantFieldValue() 438 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1688 if (DL.getTypeSizeInBits(NewTy) != DL.getTypeSizeInBits(OldTy)) in canConvertValue() 1898 (void)DL; in isVectorPromotionViable() 1899 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) && in isVectorPromotionViable() 2092 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && in extractInteger() 2121 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && in insertInteger() 2284 : DL(DL), AS(AS), Pass(Pass), OldAI(OldAI), NewAI(NewAI), in AllocaSliceRewriter() 2741 !DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)) || in visitMemSetInst() 3172 AggLoadStoreRewriter(const DataLayout &DL) : DL(DL) {} in AggLoadStoreRewriter() argument 3232 BaseTy(BaseTy), BaseAlign(BaseAlign), DL(DL) {} in OpSplitter() 3322 getAdjustedAlignment(&LI, 0, DL), DL); in visitLoadInst() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | A15SDOptimizer.cpp | 93 const DebugLoc &DL); 424 BuildMI(MBB, InsertBefore, DL, in createDupLane() 436 const DebugLoc &DL, unsigned DReg, unsigned Lane, in createExtractSubreg() argument 441 DL, in createExtractSubreg() 455 DL, in createRegSequence() 485 DL, in createInsertSubreg() 501 DL, in createImplicitDef() 512 DebugLoc DL = MI->getDebugLoc(); in optimizeAllLanesPattern() local 528 Out = createVExt(MBB, InsertPt, DL, Out1, Out2); in optimizeAllLanesPattern() 539 Out = createVExt(MBB, InsertPt, DL, Out1, Out2); in optimizeAllLanesPattern() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AVR/ |
| H A D | AVRISelLowering.cpp | 401 auto DL = DAG.getDataLayout(); in LowerGlobalAddress() local 414 auto DL = DAG.getDataLayout(); in LowerBlockAddress() local 656 SDLoc DL(Op); in LowerSETCC() local 673 auto DL = DAG.getDataLayout(); in LowerVASTART() local 719 SDLoc DL(N); in ReplaceNodeResults() local 779 SDLoc DL(N); in getPreIndexedAddressParts() local 835 SDLoc DL(N); in getPostIndexedAddressParts() local 1056 auto DL = DAG.getDataLayout(); in LowerFormalArguments() local 1149 SDLoc &DL = CLI.DL; in LowerCall() local 1298 DAG.getIntPtrConstant(0, DL, true), InFlag, DL); in LowerCall() [all …]
|