| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | MisleadingIdentifier.cpp | 20 return (0x0600 <= CP && CP <= 0x07BF) || (0x0860 <= CP && CP <= 0x08FF) || in isUnassignedAL() 21 (0xFB50 <= CP && CP <= 0xFDCF) || (0xFDF0 <= CP && CP <= 0xFDFF) || in isUnassignedAL() 32 return (0x0590 <= CP && CP <= 0x05FF) || (0x07C0 <= CP && CP <= 0x085F) || in isUnassignedR() 45 return (CP == 0x0590) || (CP == 0x05BE) || (CP == 0x05C0) || (CP == 0x05C3) || in isR() 47 (0x05D0 <= CP && CP <= 0x05EA) || (0x05EB <= CP && CP <= 0x05EE) || in isR() 48 (0x05EF <= CP && CP <= 0x05F2) || (0x05F3 <= CP && CP <= 0x05F4) || in isR() 49 (0x05F5 <= CP && CP <= 0x05FF) || (0x07C0 <= CP && CP <= 0x07C9) || in isR() 50 (0x07CA <= CP && CP <= 0x07EA) || (0x07F4 <= CP && CP <= 0x07F5) || in isR() 52 (0x07FE <= CP && CP <= 0x07FF) || (0x0800 <= CP && CP <= 0x0815) || in isR() 54 (0x082E <= CP && CP <= 0x082F) || (0x0830 <= CP && CP <= 0x083E) || in isR() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | COFFEmitter.cpp | 161 if (!CP.isPE()) in layoutOptionalHeader() 203 CP.getHeaderSize() + CP.Obj.Header.SizeOfOptionalHeader; in layoutCOFF() 204 if (CP.isPE()) in layoutCOFF() 206 CP.SectionTableSize = COFF::SectionSize * CP.Obj.Sections.size(); in layoutCOFF() 209 CP.SectionTableStart + CP.SectionTableSize; in layoutCOFF() 231 toDebugS(S.DebugS, CP.StringsAndChecksums, CP.Allocator); in layoutCOFF() 295 CP.Obj.Header.NumberOfSections = CP.Obj.Sections.size(); in layoutCOFF() 398 if (CP.isPE()) { in writeCOFF() 442 if (CP.isPE()) { in writeCOFF() 484 assert(OS.tell() == CP.SectionTableStart + CP.SectionTableSize); in writeCOFF() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | RegisterCoalescer.cpp | 631 LIS->getInterval(CP.isFlipped() ? CP.getDstReg() : CP.getSrcReg()); in adjustCopiesBackFrom() 633 LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg()); in adjustCopiesBackFrom() 819 LIS->getInterval(CP.isFlipped() ? CP.getDstReg() : CP.getSrcReg()); in removeCopyByCommutingDef() 821 LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg()); in removeCopyByCommutingDef() 1286 Register SrcReg = CP.isFlipped() ? CP.getDstReg() : CP.getSrcReg(); in reMaterializeTrivialDef() 1287 unsigned SrcIdx = CP.isFlipped() ? CP.getDstIdx() : CP.getSrcIdx(); in reMaterializeTrivialDef() 1288 Register DstReg = CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg(); in reMaterializeTrivialDef() 1289 unsigned DstIdx = CP.isFlipped() ? CP.getSrcIdx() : CP.getDstIdx(); in reMaterializeTrivialDef() 2094 updateRegDefsUses(CP.getDstReg(), CP.getDstReg(), CP.getDstIdx()); in joinCopy() 2095 updateRegDefsUses(CP.getSrcReg(), CP.getDstReg(), CP.getSrcIdx()); in joinCopy() [all …]
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | ConstantPools.cpp | 81 if (CP == ConstantPools.end()) in getConstantPool() 84 return &CP->second; in getConstantPool() 93 ConstantPool &CP) { in emitConstantPool() argument 94 if (!CP.empty()) { in emitConstantPool() 96 CP.emitEntries(Streamer); in emitConstantPool() 104 ConstantPool &CP = CPI.second; in emitAll() local 106 emitConstantPool(Streamer, Section, CP); in emitAll() 112 if (ConstantPool *CP = getConstantPool(Section)) in emitForCurrentSection() local 113 emitConstantPool(Streamer, Section, *CP); in emitForCurrentSection() 118 if (ConstantPool *CP = getConstantPool(Section)) in clearCacheForCurrentSection() local [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | remove-redundant-moves.ll | 109 ; CHECK-BE: xvcvsxwsp [[CP]], [[CP]] 110 ; CHECK-BE: xscvspdpn 1, [[CP]] 124 ; CHECK-BE: xvcvsxwsp [[CP]], [[CP]] 125 ; CHECK-BE: xscvspdpn 1, [[CP]] 139 ; CHECK-BE: xvcvsxwsp [[CP]], [[CP]] 140 ; CHECK-BE: xscvspdpn 1, [[CP]] 154 ; CHECK-BE: xvcvsxwsp [[CP]], [[CP]] 155 ; CHECK-BE: xscvspdpn 1, [[CP]] 176 ; CHECK-BE: xvcvsxwdp 1, [[CP]] 189 ; CHECK-BE: xvcvsxwdp 1, [[CP]] [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantPoolValue.cpp | 57 int CSKYConstantPoolValue::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 103 int CSKYConstantPoolConstant::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 105 return getExistingMachineCPValueImpl<CSKYConstantPoolConstant>(CP, Alignment); in getExistingMachineCPValue() 137 int CSKYConstantPoolSymbol::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 140 return getExistingMachineCPValueImpl<CSKYConstantPoolSymbol>(CP, Alignment); in getExistingMachineCPValue() 171 int CSKYConstantPoolMBB::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 173 return getExistingMachineCPValueImpl<CSKYConstantPoolMBB>(CP, Alignment); in getExistingMachineCPValue() 203 int CSKYConstantPoolJT::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 205 return getExistingMachineCPValueImpl<CSKYConstantPoolJT>(CP, Alignment); in getExistingMachineCPValue()
|
| H A D | CSKYConstantPoolValue.h | 73 int getExistingMachineCPValue(MachineConstantPool *CP, 86 int getExistingMachineCPValueImpl(MachineConstantPool *CP, Align Alignment) { in getExistingMachineCPValueImpl() argument 87 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValueImpl() 120 int getExistingMachineCPValue(MachineConstantPool *CP, 150 int getExistingMachineCPValue(MachineConstantPool *CP, 178 int getExistingMachineCPValue(MachineConstantPool *CP, 205 int getExistingMachineCPValue(MachineConstantPool *CP,
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | tls-04.ll | 4 …< %s -mcpu=z10 -mtriple=s390x-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=CHECK-CP 11 ; CHECK-CP: .LCP{{.*}}_0: 12 ; CHECK-CP: .quad x@TLSLDM 13 ; CHECK-CP: .LCP{{.*}}_1: 14 ; CHECK-CP: .quad x@DTPOFF
|
| H A D | tls-01.ll | 4 ; RUN: llc < %s -mcpu=z10 -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-CP 11 ; CHECK-CP: .LCP{{.*}}: 12 ; CHECK-CP: .quad x@NTPOFF
|
| H A D | tls-03.ll | 4 …< %s -mcpu=z10 -mtriple=s390x-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=CHECK-CP 10 ; CHECK-CP: .LCP{{.*}}: 11 ; CHECK-CP: .quad x@TLSGD
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | objc-gc-aggr-assign.m | 2 …objc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix CHECK-CP %s 59 // CHECK-CP: call i8* @objc_memmove_collectable 60 // CHECK-CP: call i8* @objc_memmove_collectable 61 // CHECK-CP: call i8* @objc_memmove_collectable 62 // CHECK-CP: call i8* @objc_memmove_collectable
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kISelDAGToDAG.cpp | 73 const Constant *CP; member 88 return GV != nullptr || CP != nullptr || ES != nullptr || in hasSymbolicDisplacement() 253 if (AM.CP) { in getSymbolicDisplacement() 576 AM.CP = CP->getConstVal(); in matchWrapper() 577 AM.Alignment = CP->getAlign(); in matchWrapper() 578 AM.SymbolFlags = CP->getTargetFlags(); in matchWrapper() 579 if (!foldOffsetIntoAddress(CP->getOffset(), AM)) { in matchWrapper() 616 AM.CP = CP->getConstVal(); in matchWrapper() 617 AM.Alignment = CP->getAlign(); in matchWrapper() 618 AM.Disp += CP->getOffset(); in matchWrapper() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelDAGToDAG.cpp | 48 const Constant *CP = nullptr; member 57 return GV != nullptr || CP != nullptr || ES != nullptr || JT != -1; in hasSymbolicDisplacement() 73 } else if (CP) { in dump() 75 CP->dump(); in dump() 146 } else if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(N0)) { in MatchWrapper() local 147 AM.CP = CP->getConstVal(); in MatchWrapper() 148 AM.Alignment = CP->getAlign(); in MatchWrapper() 149 AM.Disp += CP->getOffset(); in MatchWrapper() 264 else if (AM.CP) in SelectAddr() 265 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i16, AM.Alignment, AM.Disp, in SelectAddr()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMConstantPoolValue.cpp | 75 int ARMConstantPoolValue::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 191 int ARMConstantPoolConstant::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 194 getExistingMachineCPValueImpl<ARMConstantPoolConstant>(CP, Alignment); in getExistingMachineCPValue() 197 CP->getConstants()[index].Val.MachineCPVal); in getExistingMachineCPValue() 239 int ARMConstantPoolSymbol::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 241 return getExistingMachineCPValueImpl<ARMConstantPoolSymbol>(CP, Alignment); in getExistingMachineCPValue() 279 int ARMConstantPoolMBB::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 281 return getExistingMachineCPValueImpl<ARMConstantPoolMBB>(CP, Alignment); in getExistingMachineCPValue()
|
| H A D | ARMConstantPoolValue.h | 79 int getExistingMachineCPValueImpl(MachineConstantPool *CP, Align Alignment) { in getExistingMachineCPValueImpl() argument 80 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValueImpl() 114 int getExistingMachineCPValue(MachineConstantPool *CP, 187 int getExistingMachineCPValue(MachineConstantPool *CP, 223 int getExistingMachineCPValue(MachineConstantPool *CP, 259 int getExistingMachineCPValue(MachineConstantPool *CP,
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Generic/ |
| H A D | llvm-ct-intrinsics.ll | 12 define void @ctpoptest(i8 %A, i16 %B, i32 %C, i64 %D, i8* %AP, i16* %BP, i32* %CP, i64* %DP) { 19 store i32 %c, i32* %CP 32 define void @ctlztest(i8 %A, i16 %B, i32 %C, i64 %D, i8* %AP, i16* %BP, i32* %CP, i64* %DP) { 39 store i32 %c, i32* %CP 52 define void @cttztest(i8 %A, i16 %B, i32 %C, i64 %D, i8* %AP, i16* %BP, i32* %CP, i64* %DP) { 59 store i32 %c, i32* %CP
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | FormattedStream.cpp | 30 auto ProcessUTF8CodePoint = [&Line, &Column](StringRef CP) { in UpdatePosition() argument 31 int Width = sys::unicode::columnWidthUTF8(CP); in UpdatePosition() 36 if (CP.size() > 1) in UpdatePosition() 39 switch (CP[0]) { in UpdatePosition()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantsContext.h | 576 static unsigned getHashValue(const ConstantClass *CP) { 578 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage))); 651 void remove(ConstantClass *CP) { 652 typename MapTy::iterator I = Map.find(CP); 654 assert(*I == CP && "Didn't find correct element?"); 662 LookupKey Key(CP->getType(), ValType(Operands, CP)); 672 remove(CP); 676 CP->setOperand(OperandNo, To); 679 if (CP->getOperand(I) == From) 680 CP->setOperand(I, To); [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | global-blocks-lines.c | 34 int (^CP)(void) = ^{ X = X+1; return X; }; 42 CP(); in main()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantsTest.cpp | 618 Constant *CP = PoisonValue::get(Int32Ty); in TEST() local 635 Constant *V3 = ConstantVector::get({C1, CP}); in TEST() 641 Constant *V4 = ConstantVector::get({CU, CP}); in TEST() 710 Constant *CP = PoisonValue::get(Int32Ty); in TEST() local 714 Constant *CPP = ConstantVector::get({CP, CP}); in TEST() 715 Constant *CUP = ConstantVector::get({CU, CP}); in TEST() 716 Constant *CPU = ConstantVector::get({CP, CU}); in TEST() 725 Constant *CPP = ConstantStruct::get(STy, {CP, CP}); in TEST() 736 Constant *CPP = ConstantArray::get(ATy, {CP, CP}); in TEST() 737 Constant *CUP = ConstantArray::get(ATy, {CU, CP}); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | block-args.c | 15 int (^CP)(int) = ^(int x) { return x*x; }; in test() 16 take(CP); in test()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZConstantPoolValue.cpp | 28 int SystemZConstantPoolValue::getExistingMachineCPValue(MachineConstantPool *CP, in getExistingMachineCPValue() argument 30 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValue()
|
| /llvm-project-15.0.7/llvm/test/Transforms/LICM/ |
| H A D | funclet.ll | 22 ; CHECK-NEXT: [[CP:%.*]] = catchpad within [[CS]] [i8* null, i32 64, i8* null] 24 ; CHECK-NEXT: catchret from [[CP]] to label [[TRY_CONT:%.*]] 64 ; CHECK-NEXT: [[CP:%.*]] = cleanuppad within none [] 65 ; CHECK-NEXT: [[TMP0:%.*]] = call i32 @pure_computation() [ "funclet"(token [[CP]]) ] 67 ; CHECK-NEXT: cleanupret from [[CP]] unwind to caller 105 ; CHECK-NEXT: [[CP:%.*]] = catchpad within [[CS:%.*]] [i8* null, i32 64, i8* null]
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | StringsAndChecksums.h | 92 void setChecksums(const ChecksumsPtr &CP) { Checksums = CP; } in setChecksums() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ConfusableTable/ |
| H A D | BuildConfusableTable.cpp | 78 for (auto CP : Values.second) in main() local 79 os << CP << ", "; in main()
|