Home
last modified time | relevance | path

Searched refs:ExpectedType (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp79 using ExpectedType = llvm::Expected<QualType>; typedef
178 class ASTNodeImporter : public TypeVisitor<ASTNodeImporter, ExpectedType>,
365 using TypeVisitor<ASTNodeImporter, ExpectedType>::Visit;
370 ExpectedType VisitType(const Type *T);
372 ExpectedType Visit##Class##Type(const Class##Type *T);
794 ExpectedType ToTypeOrErr = import(From.getAsType()); in import()
802 ExpectedType ToTypeOrErr = import(From.getIntegralType()); in import()
812 ExpectedType ToTypeOrErr = import(From.getParamTypeForDecl()); in import()
820 ExpectedType ToTypeOrErr = import(From.getNullPtrType()); in import()
828 ExpectedType ToTypeOrErr = import(From.getStructuralValueType()); in import()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaPPC.cpp348 QualType ExpectedType = DecodePPCMMATypeFromStr(Context, TypeStr, Mask); in BuiltinPPCMMACall() local
366 if (StrippedRVType != ExpectedType) in BuiltinPPCMMACall()
367 if (!(ExpectedType->isVoidPointerType() && in BuiltinPPCMMACall()
371 << PassedType << ExpectedType << 1 << 0 << 0; in BuiltinPPCMMACall()
H A DSemaHLSL.cpp949 Sema *S, CallExpr *TheCall, QualType ExpectedType, in CheckArgsTypesAreCorrect() argument
955 ExpectedType = S->Context.getVectorType( in CheckArgsTypesAreCorrect()
956 ExpectedType, VecTyA->getNumElements(), VecTyA->getVectorKind()); in CheckArgsTypesAreCorrect()
959 << PassedType << ExpectedType << 1 << 0 << 0; in CheckArgsTypesAreCorrect()
H A DSemaLookup.cpp1197 QualType ExpectedType = R.getSema().Context.getFunctionType( in LookupDirect() local
1202 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect()
/freebsd/sys/contrib/dev/acpica/components/debugger/
H A Ddbtest.c203 ACPI_OBJECT_TYPE ExpectedType,
1026 ACPI_OBJECT_TYPE ExpectedType, in AcpiDbReadFromObject() argument
1070 if (RetValue->Type != ExpectedType) in AcpiDbReadFromObject()
1073 AcpiUtGetTypeName (ExpectedType), in AcpiDbReadFromObject()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp967 Value *getOrCreateResult(Value *Inst, Type *ExpectedType) const { in getOrCreateResult()
970 return LI->getType() == ExpectedType ? LI : nullptr; in getOrCreateResult()
973 return V->getType() == ExpectedType ? V : nullptr; in getOrCreateResult()
978 return getOrCreateResultNonTargetMemIntrinsic(II, ExpectedType); in getOrCreateResult()
979 return TTI.getOrCreateResultFromMemIntrinsic(II, ExpectedType); in getOrCreateResult()
983 Type *ExpectedType) const { in getOrCreateResultNonTargetMemIntrinsic()
987 return II->getType() == ExpectedType ? II : nullptr; in getOrCreateResultNonTargetMemIntrinsic()
990 return V->getType() == ExpectedType ? V : nullptr; in getOrCreateResultNonTargetMemIntrinsic()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp42 Twine ExpectedType) { in typeError() argument
44 ExpectedType + " (node id=" + ID + in typeError()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h174 const TypeDescriptor &ExpectedType; member
H A Dubsan_handlers.cpp666 << GivenClassStr << Data->ExpectedType; in handleInvalidObjCCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp1207 Type *ExpectedType = in insertPtrCastOrAssignTypeInstr() local
1209 if (!ExpectedType && !DemangledName.empty()) in insertPtrCastOrAssignTypeInstr()
1210 ExpectedType = SPIRV::parseBuiltinCallArgumentBaseType( in insertPtrCastOrAssignTypeInstr()
1212 if (!ExpectedType || ExpectedType->isVoidTy()) in insertPtrCastOrAssignTypeInstr()
1215 if (ExpectedType->isTargetExtTy()) in insertPtrCastOrAssignTypeInstr()
1216 insertAssignPtrTypeTargetExt(cast<TargetExtType>(ExpectedType), in insertPtrCastOrAssignTypeInstr()
1219 replacePointerOperandWithPtrCast(CI, ArgOperand, ExpectedType, OpIdx, B); in insertPtrCastOrAssignTypeInstr()
H A DSPIRVBuiltins.cpp697 unsigned ExpectedType = GR->getSPIRVTypeForVReg(ExpectedArg)->getOpcode(); in buildAtomicCompareExchangeInst() local
698 (void)ExpectedType; in buildAtomicCompareExchangeInst()
699 assert(IsCmpxchg ? ExpectedType == SPIRV::OpTypeInt in buildAtomicCompareExchangeInst()
700 : ExpectedType == SPIRV::OpTypePointer); in buildAtomicCompareExchangeInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h237 Type *ExpectedType);
H A DAArch64TargetTransformInfo.cpp3676 Type *ExpectedType) { in getOrCreateResultFromMemIntrinsic() argument
3684 StructType *ST = dyn_cast<StructType>(ExpectedType); in getOrCreateResultFromMemIntrinsic()
3694 Value *Res = PoisonValue::get(ExpectedType); in getOrCreateResultFromMemIntrinsic()
3705 if (Inst->getType() == ExpectedType) in getOrCreateResultFromMemIntrinsic()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1585 Type *ExpectedType) const;
2133 Type *ExpectedType) = 0;
2836 Type *ExpectedType) override { in getOrCreateResultFromMemIntrinsic() argument
2837 return Impl.getOrCreateResultFromMemIntrinsic(Inst, ExpectedType); in getOrCreateResultFromMemIntrinsic()
H A DTargetTransformInfoImpl.h835 Type *ExpectedType) const { in getOrCreateResultFromMemIntrinsic() argument
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp1195 IntrinsicInst *Inst, Type *ExpectedType) const { in getOrCreateResultFromMemIntrinsic()
1196 return TTIImpl->getOrCreateResultFromMemIntrinsic(Inst, ExpectedType); in getOrCreateResultFromMemIntrinsic()
H A DValueTracking.cpp6833 const Type *ExpectedType = Inst->getType(); in isSafeToSpeculativelyExecuteWithOpcode() local
6835 if (Inst->getOperand(ItOp)->getType() != ExpectedType) in isSafeToSpeculativelyExecuteWithOpcode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3949 ConstantInt *ExpectedType = cast<ConstantInt>(Bundle->Inputs[0]); in visitCallBase()
3955 FunctionType->getZExtValue() != ExpectedType->getZExtValue()) in visitCallBase()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp444 unsigned ExpectedType) { in getLinkAsSymtab() argument
451 if ((*SymtabOrErr)->sh_type != ExpectedType) in getLinkAsSymtab()
454 object::getELFSectionTypeName(Obj.getHeader().e_machine, ExpectedType) + in getLinkAsSymtab()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp2135 MVT ExpectedType = (type == MVT::v2f16) ? MVT::f16 in isLiteralImm() local
2141 return canLosslesslyConvertToFPType(FPLiteral, ExpectedType); in isLiteralImm()