Home
last modified time | relevance | path

Searched refs:isValueValidForType (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstants.h186 static bool isValueValidForType(Type *Ty, uint64_t V);
187 static bool isValueValidForType(Type *Ty, int64_t V);
297 static bool isValueValidForType(Type *Ty, const APFloat &V);
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp1514 bool ConstantInt::isValueValidForType(Type *Ty, uint64_t Val) { in isValueValidForType() function in ConstantInt
1521 bool ConstantInt::isValueValidForType(Type *Ty, int64_t Val) { in isValueValidForType() function in ConstantInt
1528 bool ConstantFP::isValueValidForType(Type *Ty, const APFloat& Val) { in isValueValidForType() function in ConstantFP
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp3979 if (!ConstantInt::isValueValidForType(IntTy, Factor)) in GenerateICmpZeroScales()
3990 !ConstantInt::isValueValidForType(IntTy, NewBaseOffset)) in GenerateICmpZeroScales()
4002 !ConstantInt::isValueValidForType(IntTy, Offset)) in GenerateICmpZeroScales()
4041 !ConstantInt::isValueValidForType(IntTy, F.UnfoldedOffset)) in GenerateICmpZeroScales()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1657 static bool isValueValidForType(EVT VT, const APFloat& Val);
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp1060 !ConstantInt::isValueValidForType(IntptrTy, SizeValue)) in visitIntrinsicInst()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp1816 assert(llvm::ConstantInt::isValueValidForType(I32Ty, C->getZExtValue()) && in getAsInt32()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp313 if (ConstantFPSDNode::isValueValidForType(SVT, APF) && in ExpandConstantFP()
H A DSelectionDAG.cpp122 bool ConstantFPSDNode::isValueValidForType(EVT VT, in isValueValidForType() function in ConstantFPSDNode
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp5418 !ConstantFP::isValueValidForType(Ty, ID.APFloatVal)) in convertValIDToValue()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp55833 if (ConstantInt::isValueValidForType(Type::getInt32Ty(*DAG.getContext()), in LowerAsmOperandForConstraint()
55847 if (ConstantInt::isValueValidForType(Type::getInt32Ty(*DAG.getContext()), in LowerAsmOperandForConstraint()