Home
last modified time | relevance | path

Searched refs:isPointer (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h69 return LLT{ScalarTy.isPointer(), /*isVector=*/true, NumElements, in vector()
71 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
74 explicit LLT(bool isPointer, bool isVector, uint16_t NumElements, in LLT() argument
76 init(isPointer, isVector, NumElements, SizeInBits, AddressSpace); in LLT()
86 bool isPointer() const { return isValid() && IsPointer && !IsVector; } in isPointer() function
102 if (isPointer() || isScalar()) in getSizeInBits()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp190 assert(getMRI()->getType(Res).isPointer() && in buildGEP()
220 assert(getMRI()->getType(Res).isPointer() && in buildPtrMask()
394 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
396 else if (DstTy.isPointer() && SrcTy.isScalar()) in buildCast()
399 assert(!SrcTy.isPointer() && !DstTy.isPointer() && "n G_ADDRCAST yet"); in buildCast()
614 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicCmpXchgWithSuccess()
640 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicCmpXchg()
665 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicRMW()
779 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()
865 if (Op0Ty.isScalar() || Op0Ty.isPointer()) in buildInstr()
[all …]
H A DLegalizerInfo.cpp165 if (Type.isPointer()) in computeTables()
247 if (Aspect.Type.isScalar() || Aspect.Type.isPointer()) in getAspectAction()
482 assert(Aspect.Type.isScalar() || Aspect.Type.isPointer()); in findScalarLegalAction()
486 if (Aspect.Type.isPointer() && in findScalarLegalAction()
492 Aspect.Type.isPointer() in findScalarLegalAction()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DLowLevelType.cpp40 else if (isPointer()) in print()
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DArchHandler.h109 virtual bool isPointer(const Reference &) = 0;
H A DArchHandler_x86.cpp46 bool isPointer(const Reference &) override;
240 bool ArchHandler_x86::isPointer(const Reference &ref) { in isPointer() function in lld::mach_o::ArchHandler_x86
H A DArchHandler_x86_64.cpp143 bool isPointer(const Reference &) override;
321 bool ArchHandler_x86_64::isPointer(const Reference &ref) { in isPointer() function in lld::mach_o::ArchHandler_x86_64
H A DArchHandler_arm64.cpp97 bool isPointer(const Reference &) override;
323 bool ArchHandler_arm64::isPointer(const Reference &ref) { in isPointer() function in lld::mach_o::ArchHandler_arm64
H A DArchHandler_arm.cpp40 bool isPointer(const Reference &) override;
313 bool ArchHandler_arm::isPointer(const Reference &ref) { in isPointer() function in lld::mach_o::ArchHandler_arm
H A DMachONormalizedFileFromAtoms.cpp1438 if (_archHandler.isPointer(*ref)) { in addRebaseAndBindingInfo()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp65 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx()
H A DX86InstructionSelector.cpp482 assert(MRI.getType(I.getOperand(0).getReg()).isPointer() && in X86SelectAddress()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DNeonEmitter.cpp176 bool isPointer() const { return Pointer; } in isPointer() function in __anoneec6fbfe0111::Type
1339 if (getParamType(I).isPointer()) in emitShadowedArgs()
1447 if (ThisTy.isPointer()) in emitBodyAsBuiltinCall()
2141 if (Ty.isPointer()) in genOverloadTypeCheckCode()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp125 if (Ty.isPointer()) { in emitCxxEnumValue()
144 if (Ty.isPointer() && Ty.getSizeInBits() > 0) { in emitCxxConstructorCall()
167 if (Ty.isPointer() != Other.Ty.isPointer()) in operator <()
168 return Ty.isPointer() < Other.Ty.isPointer(); in operator <()
170 if (Ty.isPointer() && Ty.getAddressSpace() != Other.Ty.getAddressSpace()) in operator <()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstructionSelector.cpp1052 assert(MRI.getType(PtrReg).isPointer() && in select()
1420 } else if (CmpTy == LLT::scalar(64) || CmpTy.isPointer()) { in select()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1033 if (DstElTy.isPointer() || SrcElTy.isPointer()) in visitMachineInstrBefore()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelectorImpl.h493 if (!Ty.isPointer() || Ty.getSizeInBits() != SizeInBits) in executeMatchTable()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp851 if (!MRI.getType(I.getOperand(0).getReg()).isPointer()) { in select()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprCXX.cpp862 bool isPointer = false; in CheckCXXThrowOperand() local
865 isPointer = true; in CheckCXXThrowOperand()
867 if (!isPointer || !Ty->isVoidType()) { in CheckCXXThrowOperand()
869 isPointer ? diag::err_throw_incomplete_ptr in CheckCXXThrowOperand()
889 if (isPointer) in CheckCXXThrowOperand()
H A DSemaStmt.cpp3937 bool isPointer() const { return IsPointer; } in isPointer() function in __anon4bf2252c0c11::CatchHandlerType
4075 CatchTypePublicBases CTPB(Context, HandledTypes, HandlerCHT.isPointer()); in ActOnCXXTryBlock()
H A DSemaOverload.cpp10442 bool isPointer = false; in NoteSurrogateCandidate() local
10454 isPointer = true; in NoteSurrogateCandidate()
10459 if (isPointer) FnType = S.Context.getPointerType(FnType); in NoteSurrogateCandidate()