/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 34 return DAG.getNode(Op, DL, VTs, Ops); in createMemMemNode() 54 SDValue LenAdj = DAG.getNode(ISD::ADD, DL, MVT::i64, in emitMemMemReg() 84 Chain, DL, DAG.getConstant(StoreVal, DL, MVT::getIntegerVT(Size * 8)), in memsetStore() 117 Dst = DAG.getNode(ISD::ADD, DL, PtrVT, Dst, in EmitTargetCodeForMemset() 165 SDValue SHL = DAG.getNode(ISD::SHL, DL, MVT::i32, IPM, in addIPMSequence() 194 Length = DAG.getZExtOrTrunc(Length, DL, PtrVT); in EmitTargetCodeForMemchr() 195 Char = DAG.getZExtOrTrunc(Char, DL, MVT::i32); in EmitTargetCodeForMemchr() 196 Char = DAG.getNode(ISD::AND, DL, MVT::i32, Char, in EmitTargetCodeForMemchr() 207 End, DAG.getConstant(0, DL, PtrVT), in EmitTargetCodeForMemchr() 259 return getBoundedStrlen(DAG, DL, Chain, Src, DAG.getConstant(0, DL, PtrVT)); in EmitTargetCodeForStrlen() [all …]
|
H A D | SystemZISelLowering.cpp | 1518 SDLoc DL(In); in lowerI128ToGR128() local 1535 SDLoc DL(In); in lowerGR128ToI128() local 1871 SDLoc &DL = CLI.DL; in LowerCall() local 3384 SDLoc DL(Op); in lowerSETCC() local 3401 SDLoc DL(Op); in lowerSTRICT_FSETCC() local 3422 SDLoc DL(Op); in lowerBR_CC() local 3459 SDLoc DL(Op); in lowerSELECT_CC() local 3712 SDLoc DL(JT); in lowerJumpTable() local 4250 SDLoc DL(N); in lowerXALUO() local 4343 SDLoc DL(N); in lowerUADDSUBO_CARRY() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | VNCoercion.cpp | 82 StoredVal = ConstantFoldConstant(C, DL); in coerceAvailableValueToLoadType() 98 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadType() 104 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in coerceAvailableValueToLoadType() 115 StoredVal = ConstantFoldConstant(C, DL); in coerceAvailableValueToLoadType() 127 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadType() 139 if (DL.isBigEndian()) { in coerceAvailableValueToLoadType() 160 StoredVal = ConstantFoldConstant(C, DL); in coerceAvailableValueToLoadType() 226 DL); in analyzeLoadFromClobberingStore() 321 if (DL.isLittleEndian()) in getStoreValueForLoadHelper() 404 DL); in getMemInstValueForLoad() [all …]
|
H A D | Evaluator.cpp | 47 const DataLayout &DL); 60 const DataLayout &DL) { in isSimpleEnoughValueToCommitHelper() argument 91 if (DL.getTypeSizeInBits(CE->getType()) != in isSimpleEnoughValueToCommitHelper() 115 const DataLayout &DL) { in isSimpleEnoughValueToCommit() argument 131 TypeSize TySize = DL.getTypeStoreSize(Ty); in read() 170 TypeSize TySize = DL.getTypeStoreSize(Ty); in write() 218 DL, Offset, /* AllowNonInbounds */ true)); in ComputeLoadResult() 229 return It->second.read(Ty, Offset, DL); in ComputeLoadResult() 318 DL, Offset, /* AllowNonInbounds */ true)); in EvaluateBlock() 337 if (!Res.first->second.write(Val, Offset, DL)) in EvaluateBlock() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Loads.cpp | 30 const DataLayout &DL) { in isAligned() argument 31 Align BA = Base->getPointerAlignment(DL); in isAligned() 107 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer() 133 if (getObjectSize(V, ObjSize, DL, TLI, Opts)) { in isDereferenceableAndAlignedPointer() 142 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer() 214 DL.getTypeStoreSize(Ty)); in isDereferenceableAndAlignedPointer() 264 auto &DL = LI->getModule()->getDataLayout(); in isDereferenceableAndAlignedInLoop() local 433 TypeSize TySize = DL.getTypeStoreSize(Ty); in isSafeToLoadUnconditionally() 478 DL, LoadOffset, /* AllowNonInbounds */ false); in areNonOverlapSameBaseLoadAndStore() 480 DL, StoreOffset, /* AllowNonInbounds */ false); in areNonOverlapSameBaseLoadAndStore() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEISelLowering.cpp | 584 SDLoc DL = CLI.DL; in LowerCall() local 1004 SDLoc DL(Op); in makeHiLoPair() local 1014 SDLoc DL(Op); in makeAddress() local 1103 SDLoc DL(Op); in lowerATOMIC_FENCE() local 1161 SDLoc DL(Op); in prepareTS1AM() local 1183 SDLoc DL(Op); in finalizeTS1AM() local 1197 SDLoc DL(Op); in lowerATOMIC_SWAP() local 1274 SDLoc DL(Op); in lowerToTLSGeneralDynamicModel() local 2817 SDLoc DL(N); in combineSelect() local 2881 SDLoc DL(N); in combineSelectCC() local [all …]
|
H A D | VEFrameLowering.cpp | 141 DebugLoc DL; in emitPrologueInsns() local 152 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns() 157 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns() 164 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns() 169 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns() 176 BuildMI(MBB, MBBI, DL, TII.get(VE::STrii)) in emitPrologueInsns() 189 DebugLoc DL; in emitEpilogueInsns() local 231 DebugLoc DL; in emitSPAdjustment() local 276 DebugLoc DL; in emitSPExtend() local 320 DebugLoc DL; in emitPrologue() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600ISelLowering.cpp | 638 SDLoc DL(Op); in LowerEXTRACT_VECTOR_ELT() local 653 SDLoc DL(Op); in LowerINSERT_VECTOR_ELT() local 688 SDLoc DL(Op); in LowerTrig() local 726 SDLoc DL(Op); in LowerUADDSUBO() local 743 SDLoc DL(Op); in lowerFP_TO_UINT() local 746 DL, in lowerFP_TO_UINT() 753 SDLoc DL(Op); in lowerFP_TO_SINT() local 756 DL, in lowerFP_TO_SINT() 802 SDLoc DL(Op); in LowerSELECT_CC() local 1118 SDLoc DL(Op); in LowerSTORE() local [all …]
|
H A D | AMDGPUHSAMetadataStreamer.cpp | 25 const DataLayout &DL) { in getArgumentTypeAlign() argument 34 ArgAlign = DL.getABITypeAlign(Ty); in getArgumentTypeAlign() 313 const DataLayout &DL = Func->getParent()->getDataLayout(); in emitKernelArg() local 327 std::tie(ArgTy, ArgAlign) = getArgumentTypeAlign(Arg, DL); in emitKernelArg() 329 emitKernelArg(DL, ArgTy, ArgAlign, in emitKernelArg() 336 const DataLayout &DL, Type *Ty, Align Alignment, StringRef ValueKind, in emitKernelArg() argument 346 auto Size = DL.getTypeAllocSize(Ty); in emitKernelArg() 394 auto &DL = M->getDataLayout(); in emitHiddenKernelArgs() local 400 emitKernelArg(DL, Int64Ty, Align(8), "hidden_global_offset_x", Offset, in emitHiddenKernelArgs() 575 auto &DL = M->getDataLayout(); in emitHiddenKernelArgs() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchExpandAtomicPseudoInsts.cpp | 162 BuildMI(LoopMBB, DL, in doAtomicBinOpExpansion() 208 BuildMI(LoopMBB, DL, in doAtomicBinOpExpansion() 213 BuildMI(LoopMBB, DL, TII->get(LoongArch::BEQZ)) in doAtomicBinOpExpansion() 295 BuildMI(LoopMBB, DL, TII->get(LoongArch::BEQZ)) in doMaskedAtomicBinOpExpansion() 305 DebugLoc DL = MI.getDebugLoc(); in expandAtomicBinOp() local 358 DebugLoc DL = MI.getDebugLoc(); in expandAtomicMinMaxOp() local 473 DebugLoc DL = MI.getDebugLoc(); in expandAtomicCmpXchg() local 506 BuildMI(LoopHeadMBB, DL, in expandAtomicCmpXchg() 522 BuildMI(LoopTailMBB, DL, in expandAtomicCmpXchg() 538 BuildMI(LoopHeadMBB, DL, in expandAtomicCmpXchg() [all …]
|
H A D | LoongArchISelLowering.cpp | 454 SDLoc DL(Op); in lowerBUILD_VECTOR() local 552 SDLoc DL(Op); in lowerATOMIC_FENCE() local 596 SDLoc DL(Op); in lowerFRAMEADDR() local 647 SDLoc DL(Op); in lowerVASTART() local 663 SDLoc DL(Op); in lowerUINT_TO_FP() local 697 SDLoc DL(Op); in lowerSINT_TO_FP() local 720 SDLoc DL(Op); in lowerBITCAST() local 774 SDLoc DL(N); in getAddr() local 854 SDLoc DL(N); in getStaticTLSAddr() local 875 SDLoc DL(N); in getDynamicTLSAddr() local [all …]
|
/freebsd/contrib/llvm-project/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() 77 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() 99 const unsigned PtrSize = DL.getPointerSize(); in addByteCountSuffix() 109 A.getPassPointeeByValueCopySize(DL) : in addByteCountSuffix() 110 DL.getTypeAllocSize(A.getType()); in addByteCountSuffix() 144 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() 158 if (!DL.hasMicrosoftFastStdCallMangling() && in getNameWithPrefix() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 2562 SDLoc DL(V); in convertToScalableVector() local 2574 SDLoc DL(V); in convertFromScalableVector() local 2802 SDLoc DL(Op); in lowerFP_TO_INT_SAT() local 2873 SDLoc DL(Op); in lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND() local 6807 SDLoc DL(N); in getAddr() local 6907 SDLoc DL(N); in getStaticTLSAddr() local 6953 SDLoc DL(N); in getDynamicTLSAddr() local 6985 SDLoc DL(N); in getTLSDescAddr() local 7064 SDLoc DL(N); in combineSelectToBinOp() local 8438 SDLoc DL(N); in lowerGetVectorLength() local [all …]
|
H A D | RISCVISelDAGToDAG.cpp | 67 SDLoc DL(N); in PreprocessISelDAG() local 90 SDLoc DL(N); in PreprocessISelDAG() local 342 SDLoc DL(Node); in selectVLSEG() local 381 SDLoc DL(Node); in selectVLSEGFF() local 424 SDLoc DL(Node); in selectVLXSEG() local 475 SDLoc DL(Node); in selectVSSEG() local 507 SDLoc DL(Node); in selectVSXSEG() local 553 SDLoc DL(Node); in selectVSETVLI() local 2648 SDLoc DL(N); in selectSETCC() local 3235 SDLoc DL(N); in selectFPImm() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.cpp | 571 SDLoc DL(N); in performDivRemCombine() local 648 SDLoc DL(Op); in createFPCmp() local 787 SDLoc DL(N); in performANDCombine() local 1094 SDLoc DL(N); in performADDCombine() local 1115 SDLoc DL(N); in performSHLCombine() local 2035 SDLoc DL(Op); in lowerBRCOND() local 2074 SDLoc DL(Op); in lowerSETCC() local 2151 SDLoc DL(GA); in lowerGlobalTLSAddress() local 2262 SDLoc DL(Op); in lowerVASTART() local 2335 SDLoc DL(Op); in lowerFCOPYSIGN32() local [all …]
|
H A D | MipsSEISelDAGToDAG.cpp | 735 SDLoc DL(Node); in trySelect() local 763 selectAddE(Node, DL); in trySelect() 805 SDLoc DL(CN); in trySelect() local 817 CurDAG->getMachineNode(Inst->Opc, DL, MVT::i64, in trySelect() 842 SDValue Reg = CurDAG->getCopyFromReg(ChainIn, DL, in trySelect() 852 SDLoc DL(Node); in trySelect() local 922 SDLoc DL(Node); in trySelect() local 1204 Mips::SUBREG_TO_REG, DL, MVT::i64, in trySelect() 1289 CurDAG->getTargetConstant(1, DL, MVT::i32)); in trySelect() 1310 Mips::SUBREG_TO_REG, DL, MVT::i64, in trySelect() [all …]
|
H A D | MipsSEISelLowering.cpp | 406 SDLoc DL(Op); in lowerSELECT() local 857 SDLoc DL(N); in performDSPShiftCombine() local 1173 SDLoc DL(Op); in lowerLOAD() local 1202 SDLoc DL(Op); in lowerSTORE() local 1226 SDLoc DL(Op); in lowerBITCAST() local 1260 SDLoc DL(Op); in lowerMulDiv() local 1302 SDLoc DL(Op); in lowerDSPIntr() local 1350 SDLoc DL(Op); in lowerMSACopyIntr() local 1366 SDLoc DL(Op); in lowerMSASplatZExt() local 1456 SDLoc DL(Op); in lowerMSABinaryBitImmIntr() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430FrameLowering.cpp | 75 BuildCFI(MBB, MBBI, DL, in emitCalleeSavedFrameMoves() 78 BuildCFI(MBB, MBBI, DL, in emitCalleeSavedFrameMoves() 117 BuildCFI(MBB, MBBI, DL, in emitPrologue() 124 MBB, MBBI, DL, in emitPrologue() 135 BuildCFI(MBB, MBBI, DL, in emitPrologue() 155 BuildCFI(MBB, MBBI, DL, in emitPrologue() 185 MBB, MBBI, DL, in emitPrologue() 227 BuildCFI(MBB, MBBI, DL, in emitEpilogue() 255 DL = MBBI->getDebugLoc(); in emitEpilogue() 322 DebugLoc DL; in spillCalleeSavedRegisters() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kISelLowering.cpp | 523 SDLoc &DL = CLI.DL; in LowerCall() local 1556 SDLoc DL(Op); in lowerOverflowArithmetic() local 1628 SDLoc DL(Op); in LowerXALUO() local 2147 SDLoc DL(Op); in LowerSETCC() local 2213 SDLoc DL(Op); in LowerSETCCCARRY() local 2264 SDLoc DL(Op); in LowerSELECT() local 2454 SDLoc DL(Op); in LowerBRCOND() local 2666 SDLoc DL(CP); in LowerConstantPool() local 2696 SDLoc DL(Op); in LowerExternalSymbol() local 3575 SDLoc DL(N); in combineM68kSetCC() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelDAGToDAG.cpp | 106 SDLoc DL(Addr); in INITIALIZE_PASS() local 133 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in INITIALIZE_PASS() 140 SDLoc DL(Addr); in SelectFIAddr() local 174 SDLoc DL(Op); in SelectInlineAsmMemoryOperand() local 201 SDLoc DL(Node); in Select() local 243 SDLoc DL(Node); in PreprocessLoad() local 339 const DataLayout &DL = CurDAG->getDataLayout(); in getConstantFieldValue() local 369 if (DL.isLittleEndian()) in getConstantFieldValue() 384 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant() 399 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ConstantFolding.h | 43 const DataLayout &DL, 51 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL, 67 const DataLayout &DL, 81 const DataLayout &DL); 115 const DataLayout &DL); 120 const DataLayout &DL); 156 const DataLayout &DL); 161 const DataLayout &DL); 166 const DataLayout &DL); 171 const DataLayout &DL); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.cpp | 410 SDLoc &DL = CLI.DL; in LowerCall() local 875 SDLoc DL(Op); in LowerBR_CC() local 940 SDLoc DL(Op); in LowerMUL() local 975 SDLoc DL(Op); in LowerSETCC() local 992 SDLoc DL(Op); in LowerSELECT_CC() local 1008 SDLoc DL(Op); in LowerVASTART() local 1023 SDLoc DL(Op); in LowerDYNAMIC_STACKALLOC() local 1061 SDLoc DL(Op); in LowerRETURNADDR() local 1083 SDLoc DL(Op); in LowerFRAMEADDR() local 1129 SDLoc DL(Op); in LowerConstantPool() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FrameLowering.cpp | 553 BuildCFI(MBB, MBBI, DL, in emitCalleeSavedFrameMoves() 567 DebugLoc DL; in emitZeroCallUsedRegs() local 702 MBB, MBBI, DL, in emitStackProbeInlineGenericBlock() 724 MBB, MBBI, DL, in emitStackProbeInlineGenericBlock() 1541 DebugLoc DL; in emitPrologue() local 1718 BuildMI(MBB, MBBI, DL, in emitPrologue() 2179 MBB, MBBI, DL, in emitPrologue() 2293 DebugLoc DL; in emitEpilogue() local 3154 DebugLoc DL; in adjustForSegmentedStacks() local 3346 BuildMI(allocMBB, DL, in adjustForSegmentedStacks() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64PointerAuth.cpp | 76 BuildMI(MBB, MBBI, DL, TII->get(AArch64::ADR)) in BuildPACM() 97 DebugLoc DL; in signLR() local 100 BuildMI(MBB, MBBI, DL, TII->get(AArch64::EMITBKEY)) in signLR() 114 BuildMI(MBB, MBBI, DL, in signLR() 121 BuildMI(MBB, MBBI, DL, in signLR() 148 DebugLoc DL = MBBI->getDebugLoc(); in authenticateLR() local 169 BuildMI(MBB, TI, DL, in authenticateLR() 184 BuildMI(MBB, MBBI, DL, in authenticateLR() 190 BuildMI(MBB, MBBI, DL, in authenticateLR() 231 DebugLoc DL = MBBI->getDebugLoc(); in checkAuthenticatedRegister() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblySelectionDAGInfo.cpp | 22 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument 29 SDValue MemIdx = DAG.getConstant(0, DL, MVT::i32); in EmitTargetCodeForMemcpy() 31 return DAG.getNode(WebAssemblyISD::MEMORY_COPY, DL, MVT::Other, in EmitTargetCodeForMemcpy() 33 DAG.getZExtOrTrunc(Size, DL, LenMVT)}); in EmitTargetCodeForMemcpy() 37 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Op1, SDValue Op2, in EmitTargetCodeForMemmove() argument 40 return EmitTargetCodeForMemcpy(DAG, DL, Chain, Op1, Op2, Op3, in EmitTargetCodeForMemmove() 46 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Val, in EmitTargetCodeForMemset() argument 53 SDValue MemIdx = DAG.getConstant(0, DL, MVT::i32); in EmitTargetCodeForMemset() 56 return DAG.getNode(WebAssemblyISD::MEMORY_FILL, DL, MVT::Other, Chain, MemIdx, in EmitTargetCodeForMemset() 57 Dst, DAG.getAnyExtOrTrunc(Val, DL, MVT::i32), in EmitTargetCodeForMemset() [all …]
|