/external/clang/lib/CodeGen/ |
SanitizerMetadata.cpp | 46 llvm::ConstantAsMetadata::get(GV), LocDescr, GlobalName, 47 llvm::ConstantAsMetadata::get( 49 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get( 89 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get( 91 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
|
CGLoopInfo.cpp | 38 ConstantAsMetadata::get(ConstantInt::get( 46 ConstantAsMetadata::get(ConstantInt::get( 54 ConstantAsMetadata::get(ConstantInt::get( 62 ConstantAsMetadata::get(ConstantInt::get(
|
CodeGenFunction.cpp | 478 addressQuals.push_back(llvm::ConstantAsMetadata::get(Builder.getInt32( 519 llvm::ConstantAsMetadata::get(Builder.getInt32(AddrSpc))); 583 kernelMDArgs.push_back(llvm::ConstantAsMetadata::get(Fn)); 596 llvm::ConstantAsMetadata::get(llvm::UndefValue::get( 598 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get( 607 llvm::ConstantAsMetadata::get(Builder.getInt32(A->getXDim())), 608 llvm::ConstantAsMetadata::get(Builder.getInt32(A->getYDim())), 609 llvm::ConstantAsMetadata::get(Builder.getInt32(A->getZDim()))}; 616 llvm::ConstantAsMetadata::get(Builder.getInt32(A->getXDim())), 617 llvm::ConstantAsMetadata::get(Builder.getInt32(A->getYDim())) [all...] |
CodeGenModule.cpp | 415 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get( [all...] |
CGStmt.cpp | [all...] |
/external/llvm/include/llvm/IR/ |
MDBuilder.h | 28 class ConstantAsMetadata; 42 ConstantAsMetadata *createConstant(Constant *C);
|
Metadata.h | 272 static ConstantAsMetadata *getConstant(Value *C) { 273 return cast<ConstantAsMetadata>(get(C)); 280 static ConstantAsMetadata *getConstantIfExists(Value *C) { 281 return cast_or_null<ConstantAsMetadata>(getIfExists(C)); 311 class ConstantAsMetadata : public ValueAsMetadata { 314 ConstantAsMetadata(Constant *C) 318 static ConstantAsMetadata *get(Constant *C) { 321 static ConstantAsMetadata *getIfExists(Constant *C) { 437 if (auto *V = dyn_cast<ConstantAsMetadata>(MD)) 454 return cast<X>(cast<ConstantAsMetadata>(MD)->getValue()) [all...] |
/external/llvm/lib/IR/ |
Module.cpp | 347 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Behavior)), 353 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val)); 444 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); 451 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); 464 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); 483 cast_or_null<ConstantAsMetadata>(getModuleFlag("MaxFunctionCount"));
|
MDBuilder.cpp | 24 ConstantAsMetadata *MDBuilder::createConstant(Constant *C) { 25 return ConstantAsMetadata::get(C);
|
TypeFinder.cpp | 169 if (auto *C = dyn_cast<ConstantAsMetadata>(Op)) {
|
Metadata.cpp | 49 /// - An MDNode whose only operand is a \a ConstantAsMetadata gets skipped. 68 if (auto *C = dyn_cast<ConstantAsMetadata>(N->getOperand(0))) 263 Entry = new ConstantAsMetadata(C); 322 MD->replaceAllUsesWith(ConstantAsMetadata::get(C)); 954 MDs.push_back(ConstantAsMetadata::get(I)); [all...] |
AutoUpgrade.cpp | 398 ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(C), 1))); [all...] |
DIBuilder.cpp | 304 static ConstantAsMetadata *getConstantOrNull(Constant *C) { 306 return ConstantAsMetadata::get(C); [all...] |
/external/llvm/bindings/go/llvm/ |
IRBindings.cpp | 53 return wrap(ConstantAsMetadata::get(unwrap<Constant>(C)));
|
/external/llvm/lib/Transforms/IPO/ |
CrossDSOCFI.cpp | 152 Ctx, ConstantAsMetadata::get(CaseTypeId))});
|
LowerBitSets.cpp | 310 cast<ConstantAsMetadata>(Op->getOperand(1))->getValue(); 317 cast<ConstantInt>(cast<ConstantAsMetadata>(Op->getOperand(2)) 632 auto OpConstMD = dyn_cast<ConstantAsMetadata>(Op->getOperand(1)); 647 auto OffsetConstMD = dyn_cast<ConstantAsMetadata>(Op->getOperand(2)); 863 cast<ConstantAsMetadata>(Op->getOperand(1))->getValue()); [all...] |
/external/llvm/unittests/IR/ |
MetadataTest.cpp | 107 ConstantAsMetadata *getConstantAsMetadata() { 108 return ConstantAsMetadata::get(getConstant()); 177 ConstantAsMetadata *CI = ConstantAsMetadata::get( 266 Metadata *Args[] = {ConstantAsMetadata::get(C), S, nullptr, N0, N1, N2}; 325 Metadata *Args[] = {ConstantAsMetadata::get(C), S, nullptr, N0, N1, N2}; 675 ConstantAsMetadata *Op = ConstantAsMetadata::get(GV.get()); [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
ValueEnumerator.cpp | 263 (isa<MDNode>(MD) || isa<MDString>(MD) || isa<ConstantAsMetadata>(MD)) && 276 else if (auto *C = dyn_cast<ConstantAsMetadata>(MD))
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
ValueEnumerator.cpp | 263 (isa<MDNode>(MD) || isa<MDString>(MD) || isa<ConstantAsMetadata>(MD)) && 276 else if (auto *C = dyn_cast<ConstantAsMetadata>(MD))
|
/frameworks/compile/slang/BitWriter_3_2/ |
ValueEnumerator.cpp | 263 (isa<MDNode>(MD) || isa<MDString>(MD) || isa<ConstantAsMetadata>(MD)) && 276 else if (auto *C = dyn_cast<ConstantAsMetadata>(MD))
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUOpenCLImageTypeLoweringPass.cpp | 308 KernelMDArgs.push_back(ConstantAsMetadata::get(NewF));
|
/external/llvm/lib/Analysis/ |
TypeBasedAliasAnalysis.cpp | 455 ConstantAsMetadata::get(ConstantInt::get(Int64, 0))};
|
/external/llvm/lib/Bitcode/Writer/ |
ValueEnumerator.cpp | 518 (isa<MDNode>(MD) || isa<MDString>(MD) || isa<ConstantAsMetadata>(MD)) && 531 else if (auto *C = dyn_cast<ConstantAsMetadata>(MD))
|
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 332 if (isa<ConstantAsMetadata>(MD))
|
/external/llvm/lib/Transforms/Scalar/ |
LoopUnswitch.cpp | 704 auto *ValT = cast_or_null<ConstantAsMetadata>( 706 auto *ValF = cast_or_null<ConstantAsMetadata>( [all...] |