Home
last modified time | relevance | path

Searched refs:InitValue (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowerEmuTLS.cpp98 const Constant *InitValue = nullptr; in addEmuTlsVar() local
100 InitValue = GV->getInitializer(); in addEmuTlsVar()
101 const ConstantInt *InitIntValue = dyn_cast<ConstantInt>(InitValue); in addEmuTlsVar()
104 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
106 InitValue = nullptr; in addEmuTlsVar()
116 PointerType *InitPtrType = InitValue ? in addEmuTlsVar()
117 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
139 if (InitValue) { in addEmuTlsVar()
145 EmuTlsTmplVar->setInitializer(const_cast<Constant*>(InitValue)); in addEmuTlsVar()
/external/llvm-project/llvm/lib/CodeGen/
DLowerEmuTLS.cpp99 const Constant *InitValue = nullptr; in addEmuTlsVar() local
101 InitValue = GV->getInitializer(); in addEmuTlsVar()
102 const ConstantInt *InitIntValue = dyn_cast<ConstantInt>(InitValue); in addEmuTlsVar()
105 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
107 InitValue = nullptr; in addEmuTlsVar()
117 PointerType *InitPtrType = InitValue ? in addEmuTlsVar()
118 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
135 if (InitValue) { in addEmuTlsVar()
141 EmuTlsTmplVar->setInitializer(const_cast<Constant*>(InitValue)); in addEmuTlsVar()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp96 const Constant *InitValue = nullptr; in addEmuTlsVar() local
98 InitValue = GV->getInitializer(); in addEmuTlsVar()
99 const ConstantInt *InitIntValue = dyn_cast<ConstantInt>(InitValue); in addEmuTlsVar()
102 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
104 InitValue = nullptr; in addEmuTlsVar()
114 PointerType *InitPtrType = InitValue ? in addEmuTlsVar()
115 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
137 if (InitValue) { in addEmuTlsVar()
143 EmuTlsTmplVar->setInitializer(const_cast<Constant*>(InitValue)); in addEmuTlsVar()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_flags_test.cpp115 s64 InitValue = -5; in TEST() local
118 TestFlag(InitValue, "flag_name=0", 0ll); in TEST()
119 TestFlag(InitValue, "flag_name=42", 42ll); in TEST()
120 TestFlag(InitValue, "flag_name=-42", -42ll); in TEST()
122 TestFlag(InitValue, "flag_name=-9223372036854775808", IntMin); in TEST()
123 TestFlag(InitValue, "flag_name=9223372036854775807", IntMax); in TEST()
125 TestFlag(InitValue, "flag_name=-92233720368547758080000", IntMin); in TEST()
126 TestFlag(InitValue, "flag_name=92233720368547758070000", IntMax); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPConstants.cpp46 #define OMP_TYPE(VarName, InitValue) Type *llvm::omp::types::VarName = nullptr; argument
65 #define OMP_TYPE(VarName, InitValue) VarName = InitValue; in initializeTypes() argument
79 #define OMP_TYPE(VarName, InitValue) VarName = nullptr; in uninitializeTypes() argument
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DPreferMemberInitializerCheck.cpp145 const Expr *InitValue; in check() local
146 std::tie(Field, InitValue) = isAssignmentToMemberOf(Class, S); in check()
153 shouldBeDefaultMemberInitializer(InitValue)) { in check()
166 CharSourceRange(InitValue->getSourceRange(), true)) in check()
225 CharSourceRange(InitValue->getSourceRange(), true)) in check()
/external/llvm/include/llvm/Support/
DOptions.h97 const ValT &InitValue) { in registerOption() argument
99 cl::Hidden, cl::init(InitValue)); in registerOption()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DOptions.h97 const ValT &InitValue) { in registerOption() argument
99 cl::Hidden, cl::init(InitValue)); in registerOption()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/
DOMPConstants.h87 #define OMP_TYPE(VarName, InitValue) extern Type *VarName; argument
DOMPKinds.def109 #define OMP_TYPE(VarName, InitValue)
/external/llvm-project/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp219 int64_t InitValue; in handleFloatingPointIV() local
220 if (!InitValueVal || !ConvertToSInt(InitValueVal->getValueAPF(), InitValue)) in handleFloatingPointIV()
298 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
309 if (InitValue >= ExitValue) in handleFloatingPointIV()
312 uint32_t Range = uint32_t(ExitValue-InitValue); in handleFloatingPointIV()
335 if (InitValue <= ExitValue) in handleFloatingPointIV()
338 uint32_t Range = uint32_t(InitValue-ExitValue); in handleFloatingPointIV()
364 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DAssembler.cpp194 for (const auto &InitValue : RegisterInitialValues) { in assembleToStream() local
195 RegistersSetUp.push_back(InitValue.Register); in assembleToStream()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp253 int64_t InitValue; in handleFloatingPointIV() local
254 if (!InitValueVal || !ConvertToSInt(InitValueVal->getValueAPF(), InitValue)) in handleFloatingPointIV()
333 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
344 if (InitValue >= ExitValue) in handleFloatingPointIV()
347 uint32_t Range = uint32_t(ExitValue-InitValue); in handleFloatingPointIV()
371 if (InitValue <= ExitValue) in handleFloatingPointIV()
374 uint32_t Range = uint32_t(InitValue-ExitValue); in handleFloatingPointIV()
400 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
/external/llvm-project/llvm/lib/Transforms/IPO/
DOpenMPOpt.cpp112 ConstantInt *InitValue; member
252 ICV.InitValue = nullptr; \ in initializeInternalControlVars()
255 ICV.InitValue = ConstantInt::get( \ in initializeInternalControlVars()
259 ICV.InitValue = ConstantInt::getFalse(OMPBuilder.Int1->getContext()); \ in initializeInternalControlVars()
545 << (ICVInfo.InitValue in printICVs()
546 ? ICVInfo.InitValue->getValue().toString(10, true) in printICVs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp315 int64_t InitValue; in handleFloatingPointIV() local
316 if (!InitValueVal || !ConvertToSInt(InitValueVal->getValueAPF(), InitValue)) in handleFloatingPointIV()
394 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
405 if (InitValue >= ExitValue) in handleFloatingPointIV()
408 uint32_t Range = uint32_t(ExitValue-InitValue); in handleFloatingPointIV()
431 if (InitValue <= ExitValue) in handleFloatingPointIV()
434 uint32_t Range = uint32_t(InitValue-ExitValue); in handleFloatingPointIV()
460 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
/external/llvm-project/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp68 uint64_t InitValue; member
71 : Decoder(std::move(D)), HasCompleteDecoder(HCD), InitValue(0) {} in OperandInfo()
1109 if (OpInfo.numFields() != 1 || OpInfo.InitValue != 0) { in emitBinaryParser()
1111 o.write_hex(OpInfo.InitValue); in emitBinaryParser()
1117 if (OpInfo.numFields() != 1 || OpInfo.InitValue != 0) o << '|'; in emitBinaryParser()
2064 OpInfo.InitValue |= 1ULL << I; in populateInstruction()
/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/
DOMPIRBuilder.h550 #define OMP_TYPE(VarName, InitValue) Type *VarName = nullptr; argument
DOMPKinds.def139 #define OMP_TYPE(VarName, InitValue)
/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp1502 #define OMP_TYPE(VarName, InitValue) VarName = InitValue; in initializeTypes() argument
/external/clang/lib/Sema/
DSemaOpenMP.cpp9350 llvm::APFloat InitValue = in ActOnOpenMPReductionClause() local
9353 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in ActOnOpenMPReductionClause()
9358 llvm::APInt InitValue = llvm::APInt::getAllOnesValue(Size); in ActOnOpenMPReductionClause() local
9359 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in ActOnOpenMPReductionClause()
9380 llvm::APInt InitValue = in ActOnOpenMPReductionClause() local
9386 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in ActOnOpenMPReductionClause()
9397 llvm::APFloat InitValue = llvm::APFloat::getLargest( in ActOnOpenMPReductionClause() local
9399 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in ActOnOpenMPReductionClause()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp8227 Value *InitValue = nullptr; in computeSCEVAtScope() local
8231 if (!InitValue) in computeSCEVAtScope()
8232 InitValue = PN->getIncomingValue(i); in computeSCEVAtScope()
8233 else if (InitValue != PN->getIncomingValue(i)) { in computeSCEVAtScope()
8239 if (!MultipleInitValues && InitValue) in computeSCEVAtScope()
8240 return getSCEV(InitValue); in computeSCEVAtScope()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp8465 Value *InitValue = nullptr; in computeSCEVAtScope() local
8469 if (!InitValue) in computeSCEVAtScope()
8470 InitValue = PN->getIncomingValue(i); in computeSCEVAtScope()
8471 else if (InitValue != PN->getIncomingValue(i)) { in computeSCEVAtScope()
8477 if (!MultipleInitValues && InitValue) in computeSCEVAtScope()
8478 return getSCEV(InitValue); in computeSCEVAtScope()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp15348 llvm::APFloat InitValue = llvm::APFloat::getAllOnesValue( in actOnOMPReductionKindClause() local
15351 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in actOnOMPReductionKindClause()
15356 llvm::APInt InitValue = llvm::APInt::getAllOnesValue(Size); in actOnOMPReductionKindClause() local
15357 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in actOnOMPReductionKindClause()
15378 llvm::APInt InitValue = in actOnOMPReductionKindClause() local
15383 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in actOnOMPReductionKindClause()
15393 llvm::APFloat InitValue = llvm::APFloat::getLargest( in actOnOMPReductionKindClause() local
15395 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in actOnOMPReductionKindClause()